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 inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
INSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Field Details
-
pause
-
-
Constructor Details
-
DelayRetryHandler
-
-
Method Details
-
retryRequest
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) - Specified by:
retryRequest
in interfaceorg.apache.http.client.HttpRequestRetryHandler
- Overrides:
retryRequest
in classorg.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
handleAsIdempotent
- Overrides:
handleAsIdempotent
in classorg.apache.http.impl.client.DefaultHttpRequestRetryHandler
-