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