Class ConnectionFailureDetector

  • All Implemented Interfaces:
    FailureDetector

    @ThreadSafe
    public class ConnectionFailureDetector
    extends BaseExponentialBackoffRetryFailureDetector
    The ConnectionFailureDetector marks failed server (connection failure) from query response as unhealthy, and retries the unhealthy servers with exponential increasing delays.
    • Constructor Detail

      • ConnectionFailureDetector

        public ConnectionFailureDetector()
    • Method Detail

      • notifyQuerySubmitted

        public void notifyQuerySubmitted​(QueryResponse queryResponse)
        Description copied from interface: FailureDetector
        Notifies the failure detector that a query is submitted.
      • notifyQueryFinished

        public void notifyQueryFinished​(QueryResponse queryResponse)
        Description copied from interface: FailureDetector
        Notifies the failure detector that a query is finished (COMPLETED, FAILED or TIMED_OUT).