Package dev.failsafe.internal
Class TimeoutImpl<R>
java.lang.Object
dev.failsafe.internal.TimeoutImpl<R>
- Type Parameters:
R
- result type
A
Timeout
implementation.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theTimeoutConfig
that the Timeout was built with.toExecutor
(int policyIndex) Returns aPolicyExecutor
capable of handling an execution for the Policy.toString()
-
Field Details
-
config
-
-
Constructor Details
-
TimeoutImpl
-
-
Method Details
-
getConfig
Description copied from interface:Timeout
Returns theTimeoutConfig
that the Timeout was built with. -
toExecutor
Description copied from interface:Policy
Returns aPolicyExecutor
capable of handling an execution for the Policy.- Specified by:
toExecutor
in interfacePolicy<R>
-
toString
-