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,
Duration thresholdValue,
Duration expiredValue) |
Modifier and Type | Method and Description |
---|---|
Duration |
getExpiredValue() |
TimeoutIndicator.TimeoutStatus |
getStatus() |
Duration |
getThresholdValue() |
String |
toString() |
public static final TimeoutIndicator NONE
public TimeoutIndicator(TimeoutIndicator.TimeoutStatus status, Duration thresholdValue, Duration expiredValue)
status
- The expired timeout type (if any)thresholdValue
- The configured timeout valueexpiredValue
- The actual value that cause the timeoutCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.