Package org.apache.ignite.client
Interface ClientRetryPolicyContext
-
public interface ClientRetryPolicyContextRetry policy context. SeeClientRetryPolicy.shouldRetry(org.apache.ignite.client.ClientRetryPolicyContext).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientConfigurationconfiguration()Gets the client configuration.ClientConnectionExceptionexception()Gets the connection exception that caused current retry iteration.intiteration()Gets the current iteration number (zero-based).ClientOperationTypeoperation()Gets the operation type.
-
-
-
Method Detail
-
configuration
ClientConfiguration 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
ClientConnectionException exception()
Gets the connection exception that caused current retry iteration.- Returns:
- Exception.
-
-