CL - R - public interface ExecuteWithFailover<CL,R>
Operation with a failover strategy as well.
This class is used when attempting to find a healthy Connection from a set of HostConnectionPool(s) for a set of Host(s)
This can be used by an extending class of the AbstractHostPartitionConnectionPool which reliably tries to execute an Operation
within the AbstractHostPartitionConnectionPool.executeWithFailover(Operation, com.netflix.astyanax.retry.RetryPolicy) method for the
given host partitions.AbstractHostPartitionConnectionPool} for references to this class.| Modifier and Type | Method and Description |
|---|---|
OperationResult<R> |
tryOperation(Operation<CL,R> operation) |
OperationResult<R> tryOperation(Operation<CL,R> operation) throws ConnectionException
ConnectionException