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() |
static String |
toDisplayDurationValue(Duration d) |
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 timeoutpublic TimeoutIndicator.TimeoutStatus getStatus()
public Duration getThresholdValue()
public Duration getExpiredValue()
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.