Class ClientRetryAllPolicy

    • Constructor Detail

      • ClientRetryAllPolicy

        public ClientRetryAllPolicy()
    • 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 interface ClientRetryPolicy
        Parameters:
        context - Context.
        Returns:
        true if the operation should be retried on another connection, false otherwise.