Package com.osohq.oso_cloud.internal
Class OsoServiceUnavailableRetryStrategy
- java.lang.Object
-
- com.osohq.oso_cloud.internal.OsoServiceUnavailableRetryStrategy
-
- All Implemented Interfaces:
org.apache.http.client.ServiceUnavailableRetryStrategy
public class OsoServiceUnavailableRetryStrategy extends java.lang.Object implements org.apache.http.client.ServiceUnavailableRetryStrategy
-
-
Constructor Summary
Constructors Constructor Description OsoServiceUnavailableRetryStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetRetryInterval()booleanretryRequest(org.apache.http.HttpResponse response, int executionCount, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
retryRequest
public boolean retryRequest(org.apache.http.HttpResponse response, int executionCount, org.apache.http.protocol.HttpContext context)- Specified by:
retryRequestin interfaceorg.apache.http.client.ServiceUnavailableRetryStrategy
-
getRetryInterval
public long getRetryInterval()
- Specified by:
getRetryIntervalin interfaceorg.apache.http.client.ServiceUnavailableRetryStrategy
-
-