public class TimeoutIndicator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeoutIndicator.TimeoutStatus
Timeout status.
|
| Modifier and Type | Field and Description |
|---|---|
private long |
expiredValue |
static TimeoutIndicator |
NONE |
private TimeoutIndicator.TimeoutStatus |
status |
private long |
thresholdValue |
| Constructor and Description |
|---|
TimeoutIndicator(TimeoutIndicator.TimeoutStatus status,
long thresholdValue,
long expiredValue) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExpiredValue() |
TimeoutIndicator.TimeoutStatus |
getStatus() |
long |
getThresholdValue() |
java.lang.String |
toString() |
public static final TimeoutIndicator NONE
private final TimeoutIndicator.TimeoutStatus status
private final long thresholdValue
private final long expiredValue
public TimeoutIndicator(TimeoutIndicator.TimeoutStatus status, long thresholdValue, long expiredValue)
status - The expired timeout type (if any)thresholdValue - The configured timeout valueexpiredValue - The actual value that cause the timeoutpublic TimeoutIndicator.TimeoutStatus getStatus()
public long getThresholdValue()
public long getExpiredValue()
public java.lang.String toString()
toString in class java.lang.Object