Package io.pravega.common.util
Class Retry.RetryAndThrowConditionally
- java.lang.Object
-
- io.pravega.common.util.Retry.RetryAndThrowBase<java.lang.RuntimeException>
-
- io.pravega.common.util.Retry.RetryAndThrowConditionally
-
- Enclosing class:
- Retry
public static final class Retry.RetryAndThrowConditionally extends Retry.RetryAndThrowBase<java.lang.RuntimeException>
Returned byRetry.RetryExceptionally.throwingOn(Class)to add the type of exception that should cause the method to throw right away. If any subtype of this exception occurs the method will throw it right away unless the predicate passed toRetry.RetryWithBackoff.retryingOn(Class)says otherwise
-
-
Method Summary
-
Methods inherited from class io.pravega.common.util.Retry.RetryAndThrowBase
run, runAsync, runInExecutor
-
-