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.HttpRequestRetryHandler
retryRequest
in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
protected boolean handleAsIdempotent(org.apache.http.HttpRequest request)
handleAsIdempotent
in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.