Package cz.o2.proxima.direct.io.blob
Class RetryStrategy
- java.lang.Object
-
- cz.o2.proxima.direct.io.blob.RetryStrategy
-
- All Implemented Interfaces:
java.io.Serializable
@Internal public class RetryStrategy extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetryStrategy(int initialRetryDelay, int maxRetryDelay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
retry(Factory<T> what)
void
retry(java.lang.Runnable what)
RetryStrategy
withRetryableException(java.lang.Class<? extends java.lang.Exception> ex)
-
-
-
Method Detail
-
withRetryableException
public RetryStrategy withRetryableException(java.lang.Class<? extends java.lang.Exception> ex)
-
retry
public void retry(java.lang.Runnable what)
-
retry
public <T> T retry(Factory<T> what)
-
-