Class TimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.hbase.errorhandling.TimeoutException
- All Implemented Interfaces:
Serializable
Exception for timeout of a task.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate final long
private final long
private final String
private final long
-
Constructor Summary
ConstructorDescriptionTimeoutException
(String sourceName, long start, long end, long expected) Exception indicating that an operation attempt has timed out -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
sourceName
-
start
-
end
-
expected
-
-
Constructor Details
-
TimeoutException
Exception indicating that an operation attempt has timed out- Parameters:
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)
-
-
Method Details
-
getStart
-
getEnd
-
getMaxAllowedOperationTime
-
getSourceName
-