public static class ThriftConnection.DelayRetryHandler extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler
| Modifier and Type | Field and Description | 
|---|---|
| private long | pause | 
| Constructor and Description | 
|---|
| DelayRetryHandler(int retryCount,
                 long pause) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | handleAsIdempotent(org.apache.http.HttpRequest request) | 
| boolean | retryRequest(IOException exception,
            int executionCount,
            org.apache.http.protocol.HttpContext context) | 
private long pause
public DelayRetryHandler(int retryCount, long pause)
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
retryRequest in interface org.apache.http.client.HttpRequestRetryHandlerretryRequest in class org.apache.http.impl.client.DefaultHttpRequestRetryHandlerprotected boolean handleAsIdempotent(org.apache.http.HttpRequest request)
handleAsIdempotent in class org.apache.http.impl.client.DefaultHttpRequestRetryHandlerCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.