Class TimeoutIndicator
- java.lang.Object
-
- org.apache.sshd.common.session.helpers.TimeoutIndicator
-
public class TimeoutIndicator extends Object
Used to convey information about an expired timeout- Author:
- Apache MINA SSHD Project
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeoutIndicator.TimeoutStatusTimeout status.
-
Field Summary
Fields Modifier and Type Field Description static TimeoutIndicatorNONE
-
Constructor Summary
Constructors Constructor Description TimeoutIndicator(TimeoutIndicator.TimeoutStatus status, Duration thresholdValue, Duration expiredValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetExpiredValue()TimeoutIndicator.TimeoutStatusgetStatus()DurationgetThresholdValue()static StringtoDisplayDurationValue(Duration d)StringtoString()
-
-
-
Field Detail
-
NONE
public static final TimeoutIndicator NONE
-
-
Constructor Detail
-
TimeoutIndicator
public TimeoutIndicator(TimeoutIndicator.TimeoutStatus status, Duration thresholdValue, Duration 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 Duration getThresholdValue()
-
getExpiredValue
public Duration getExpiredValue()
-
-