public class TimeoutIndicator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeoutIndicator.TimeoutStatus
Timeout status.
|
| Modifier and Type | Field and Description |
|---|---|
static TimeoutIndicator |
NONE |
| Constructor and Description |
|---|
TimeoutIndicator(TimeoutIndicator.TimeoutStatus status,
long thresholdValue,
long expiredValue) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExpiredValue() |
TimeoutIndicator.TimeoutStatus |
getStatus() |
long |
getThresholdValue() |
String |
toString() |
public static final TimeoutIndicator NONE
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()
Copyright © 2018–2020 The Apache Software Foundation. All rights reserved.