public interface Retrier
| Modifier and Type | Method and Description |
|---|---|
<T> T |
attempt(Callable<T> command)
Called by
RiakOperation execute methods to give some measure of fault tolerance. |
<T> T attempt(Callable<T> command) throws RiakRetryFailedException
RiakOperation execute methods to give some measure of fault tolerance.T - the Type the Callable.call() returnscommand - the CallableCallable.call()RiakRetryFailedException - if the retrier exceeds its bounds.Copyright © 2014. All Rights Reserved.