Package com.amazonaws.http.timers.client
Interface ClientExecutionAbortTrackerTask
-
- All Known Implementing Classes:
ClientExecutionAbortTrackerTaskImpl
,NoOpClientExecutionAbortTrackerTask
public interface ClientExecutionAbortTrackerTask
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
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
-
-
hasTimeoutExpired
boolean hasTimeoutExpired()
- 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 the client execution timeout is disabled for this request
-
cancelTask
void cancelTask()
-
-