Package io.pravega.common.util
Interface Retry.Retryable<ReturnT,RetryableET extends java.lang.Exception,NonRetryableET extends java.lang.Exception>
-
- Enclosing class:
- Retry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Retry.Retryable<ReturnT,RetryableET extends java.lang.Exception,NonRetryableET extends java.lang.Exception>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReturnTattempt()
-
-
-
Method Detail
-
attempt
ReturnT attempt() throws RetryableET extends java.lang.Exception, NonRetryableET extends java.lang.Exception
- Throws:
RetryableET extends java.lang.Exception
-
-