Package org.apache.ignite.client
Interface RetryPolicyContext
public interface RetryPolicyContext
Retry policy context. See
RetryPolicy.shouldRetry(org.apache.ignite.client.RetryPolicyContext)
.-
Method Summary
Modifier and TypeMethodDescriptionGets the client configuration.Gets the connection exception that caused current retry iteration.int
Gets the current iteration number (zero-based).Gets the operation type.
-
Method Details
-
configuration
IgniteClientConfiguration configuration()Gets the client configuration.- Returns:
- Client configuration.
-
operation
ClientOperationType operation()Gets the operation type.- Returns:
- Operation type.
-
iteration
int iteration()Gets the current iteration number (zero-based).- Returns:
- Zero-based iteration counter.
-
exception
IgniteClientConnectionException exception()Gets the connection exception that caused current retry iteration.- Returns:
- Exception.
-