public class OperationRetryHandler extends java.lang.Object
| Constructor and Description |
|---|
OperationRetryHandler(int maxRetryCount,
long initialWaitTime,
long maxWaitTime,
com.google.common.base.Predicate<java.lang.Throwable> retryPredicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
executeWithRetry(java.util.concurrent.Callable<V> operation) |
public OperationRetryHandler(int maxRetryCount, long initialWaitTime, long maxWaitTime, com.google.common.base.Predicate<java.lang.Throwable> retryPredicate)
public <V> V executeWithRetry(java.util.concurrent.Callable<V> operation) throws java.lang.Exception
java.lang.ExceptionCopyright © 2019 Apache Software Foundation. All Rights Reserved.