Package io.pravega.common.util
Class Retry.RetryExceptionally<RetryT extends java.lang.Exception>
- java.lang.Object
-
- io.pravega.common.util.Retry.RetryExceptionally<RetryT>
-
- Enclosing class:
- Retry
public static final class Retry.RetryExceptionally<RetryT extends java.lang.Exception> extends java.lang.ObjectReturned byRetry.RetryWithBackoff.retryingOn(Class)to add the type of exception that should result in a retry. Any subtype of this exception will be retried unless the subtype is passed tothrowingOn(Class).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <ThrowsT extends java.lang.Exception>
Retry.RetryAndThrowExceptionally<RetryT,ThrowsT>throwingOn(java.lang.Class<ThrowsT> throwType)
-
-
-
Method Detail
-
throwingOn
public <ThrowsT extends java.lang.Exception> Retry.RetryAndThrowExceptionally<RetryT,ThrowsT> throwingOn(java.lang.Class<ThrowsT> throwType)
-
-