Package org.apache.ignite.client
Class ClientRetryReadPolicy
- java.lang.Object
- 
- org.apache.ignite.client.ClientRetryReadPolicy
 
- 
- All Implemented Interfaces:
- Serializable,- ClientRetryPolicy
 
 public class ClientRetryReadPolicy extends Object implements ClientRetryPolicy Retry policy that returns true for all read-only operations that do not modify data.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ClientRetryReadPolicy()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldRetry(ClientRetryPolicyContext context)Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.
 
- 
- 
- 
Method Detail- 
shouldRetrypublic boolean shouldRetry(ClientRetryPolicyContext context) Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.- Specified by:
- shouldRetryin interface- ClientRetryPolicy
- Parameters:
- context- Context.
- Returns:
- trueif the operation should be retried on another connection,- falseotherwise.
 
 
- 
 
-