Package org.apache.ignite.client
Interface ClientRetryPolicyContext
-
public interface ClientRetryPolicyContext
Retry policy context. SeeClientRetryPolicy.shouldRetry(org.apache.ignite.client.ClientRetryPolicyContext)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientConfiguration
configuration()
Gets the client configuration.ClientConnectionException
exception()
Gets the connection exception that caused current retry iteration.int
iteration()
Gets the current iteration number (zero-based).ClientOperationType
operation()
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.
-
-