public class NoOpClientExecutionAbortTrackerTask extends Object implements ClientExecutionAbortTrackerTask
ClientExecutionAbortTrackerTask
used when the timer is disabled
for a requestModifier and Type | Field and Description |
---|---|
static NoOpClientExecutionAbortTrackerTask |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
cancelTask() |
boolean |
hasTimeoutExpired() |
boolean |
isEnabled() |
void |
setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
Client execution timer task needs to abort the current running HTTP request when executed.
|
public static final NoOpClientExecutionAbortTrackerTask INSTANCE
public void setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
ClientExecutionAbortTrackerTask
setCurrentHttpRequest
in interface ClientExecutionAbortTrackerTask
public boolean hasTimeoutExpired()
hasTimeoutExpired
in interface ClientExecutionAbortTrackerTask
public boolean isEnabled()
isEnabled
in interface ClientExecutionAbortTrackerTask
public void cancelTask()
cancelTask
in interface ClientExecutionAbortTrackerTask
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.