public class OperationRetryHandler extends Object
Constructor and Description |
---|
OperationRetryHandler(int maxRetryCount,
long initialWaitTime,
long maxWaitTime,
com.google.common.base.Predicate<Throwable> retryPredicate) |
public OperationRetryHandler(int maxRetryCount, long initialWaitTime, long maxWaitTime, com.google.common.base.Predicate<Throwable> retryPredicate)
public <V> V executeWithRetry(Callable<V> operation) throws Exception
Exception
Copyright © 2018 Apache Software Foundation. All rights reserved.