@InterfaceAudience.Public @InterfaceStability.Evolving public class TimeoutException extends java.lang.Exception
TimeoutExceptionInjector,
Serialized Form| Constructor and Description |
|---|
TimeoutException(java.lang.String sourceName,
long start,
long end,
long expected)
Exception indicating that an operation attempt has timed out
|
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd() |
long |
getMaxAllowedOperationTime() |
java.lang.String |
getSourceName() |
long |
getStart() |
public TimeoutException(java.lang.String sourceName,
long start,
long end,
long expected)
start - time the operation started (ms since epoch)end - time the timeout was triggered (ms since epoch)expected - expected amount of time for the operation to complete (ms) (ideally, expected <= end-start)