Class ThriftConnection.DelayRetryHandler

java.lang.Object
org.apache.http.impl.client.DefaultHttpRequestRetryHandler
org.apache.hadoop.hbase.thrift2.client.ThriftConnection.DelayRetryHandler
All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler
Enclosing class:
ThriftConnection

public static class ThriftConnection.DelayRetryHandler extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private long
     

    Fields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    DelayRetryHandler(int retryCount, long pause)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    handleAsIdempotent(org.apache.http.HttpRequest request)
     
    boolean
    retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
     

    Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler

    getRetryCount, isRequestSentRetryEnabled, requestIsAborted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pause

      private long pause
  • Constructor Details

  • Method Details

    • retryRequest

      public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
      Specified by:
      retryRequest in interface org.apache.http.client.HttpRequestRetryHandler
      Overrides:
      retryRequest in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
    • handleAsIdempotent

      protected boolean handleAsIdempotent(org.apache.http.HttpRequest request)
      Overrides:
      handleAsIdempotent in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler