public static class RetryPolicy.Timed extends Object implements RetryPolicy
RetryPolicy.Exponential, RetryPolicy.ExponentialBuilder, RetryPolicy.Linear, RetryPolicy.Timed| Modifier and Type | Method and Description |
|---|---|
Supplier<RetryDecision> |
newInstance(ClockSource clockSource)
Create a new instance of the policy.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexponential, linear, timedpublic Supplier<RetryDecision> newInstance(ClockSource clockSource)
RetryPolicythe provided instance may only be used by one thread at a time
newInstance in interface RetryPolicyclockSource - clock source to use in the instanceCopyright © 2017. All rights reserved.