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 class
TimeoutIndicator.TimeoutStatus
Timeout status.
-
Field Summary
Fields Modifier and Type Field Description static TimeoutIndicator
NONE
-
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 long
getExpiredValue()
TimeoutIndicator.TimeoutStatus
getStatus()
long
getThresholdValue()
String
toString()
-
-
-
Field Detail
-
NONE
public static final TimeoutIndicator NONE
-
-
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()
-
-