Package com.amazonaws.http.timers.client
Interface ClientExecutionAbortTask
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ClientExecutionAbortTaskImpl
public interface ClientExecutionAbortTask extends Runnable
Task to be scheduled byClientExecutionTimer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasClientExecutionAborted()
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.
-
-
-
Method Detail
-
setCurrentHttpRequest
void setCurrentHttpRequest(org.apache.http.client.methods.HttpRequestBase newRequest)
Client Execution timer task needs to abort the current running HTTP request when executed.- Parameters:
newRequest
-
-
hasClientExecutionAborted
boolean hasClientExecutionAborted()
- Returns:
- True if client execution has been aborted by the timer task. False otherwise
-
isEnabled
boolean isEnabled()
- Returns:
- True if the timer task has been scheduled. False if client execution timeout is disabled for this request
-
-