org.apache.ignite.client

## Interface ClientRetryPolicy

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    ClientRetryAllPolicy, ClientRetryNonePolicy, ClientRetryReadPolicy

      public interface ClientRetryPolicy
      extends Serializable

  Client retry policy determines whether client operations that have failed due to a connection issue should be retried.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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

          boolean shouldRetry(ClientRetryPolicyContext context)

      Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.
      Parameters:
        `context` - Context.
      Returns:
        `true` if the operation should be retried on another connection, `false` otherwise.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022