Package org.apache.ignite.client
Class ClientRetryNonePolicy
- java.lang.Object
-
- org.apache.ignite.client.ClientRetryNonePolicy
-
- All Implemented Interfaces:
Serializable
,ClientRetryPolicy
public class ClientRetryNonePolicy extends Object implements ClientRetryPolicy
Retry policy that always returnsfalse
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientRetryNonePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldRetry(ClientRetryPolicyContext context)
Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.
-
-
-
Method Detail
-
shouldRetry
public 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:
shouldRetry
in interfaceClientRetryPolicy
- Parameters:
context
- Context.- Returns:
true
if the operation should be retried on another connection,false
otherwise.
-
-