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 Callable
Callable.call()
RiakRetryFailedException
- if the retrier exceeds its bounds.Copyright © 2013. All Rights Reserved.