Package io.pravega.common.util
Class Retry.RetryAndThrowExceptionally<RetryT extends java.lang.Exception,ThrowsT extends java.lang.Exception>
- java.lang.Object
-
- io.pravega.common.util.Retry.RetryAndThrowBase<ThrowsT>
-
- io.pravega.common.util.Retry.RetryAndThrowExceptionally<RetryT,ThrowsT>
-
- Enclosing class:
- Retry
public static final class Retry.RetryAndThrowExceptionally<RetryT extends java.lang.Exception,ThrowsT extends java.lang.Exception> extends Retry.RetryAndThrowBase<ThrowsT>
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 that subtype was passed as the RetryType toRetry.RetryWithBackoff.retryingOn(Class)
-
-
Method Summary
-
Methods inherited from class io.pravega.common.util.Retry.RetryAndThrowBase
run, runAsync, runInExecutor
-
-