Class TimeoutIndicator
- java.lang.Object
-
- org.apache.sshd.common.session.helpers.TimeoutIndicator
-
public class TimeoutIndicator extends java.lang.ObjectUsed to convey information about an expired timeout
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeoutIndicator.TimeoutStatusTimeout status.
-
Field Summary
Fields Modifier and Type Field Description private longexpiredValuestatic TimeoutIndicatorNONEprivate TimeoutIndicator.TimeoutStatusstatusprivate longthresholdValue
-
Constructor Summary
Constructors Constructor Description TimeoutIndicator(TimeoutIndicator.TimeoutStatus status, long thresholdValue, long expiredValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExpiredValue()TimeoutIndicator.TimeoutStatusgetStatus()longgetThresholdValue()java.lang.StringtoString()
-
-
-
Field Detail
-
NONE
public static final TimeoutIndicator NONE
-
status
private final TimeoutIndicator.TimeoutStatus status
-
thresholdValue
private final long thresholdValue
-
expiredValue
private final long expiredValue
-
-
Constructor Detail
-
TimeoutIndicator
public TimeoutIndicator(TimeoutIndicator.TimeoutStatus status, long thresholdValue, long expiredValue)
- Parameters:
status- The expired timeout type (if any)thresholdValue- The configured timeout valueexpiredValue- The actual value that cause the timeout
-
-
Method Detail
-
getStatus
public TimeoutIndicator.TimeoutStatus getStatus()
-
getThresholdValue
public long getThresholdValue()
-
getExpiredValue
public long getExpiredValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-