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
FieldsFields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanhandleAsIdempotent(org.apache.http.HttpRequest request) booleanretryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
getRetryCount, isRequestSentRetryEnabled, requestIsAborted
-
Field Details
-
pause
-
-
Constructor Details
-
DelayRetryHandler
-
-
Method Details
-
retryRequest
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) - Specified by:
retryRequestin interfaceorg.apache.http.client.HttpRequestRetryHandler- Overrides:
retryRequestin classorg.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
handleAsIdempotent
- Overrides:
handleAsIdempotentin classorg.apache.http.impl.client.DefaultHttpRequestRetryHandler
-