public class ClientExecutionAbortTrackerTaskImpl extends Object implements ClientExecutionAbortTrackerTask
ClientExecutionAbortTask
and the associated Future
Constructor and Description |
---|
ClientExecutionAbortTrackerTaskImpl(ClientExecutionAbortTask task,
ScheduledFuture<?> future) |
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 ClientExecutionAbortTrackerTaskImpl(ClientExecutionAbortTask task, ScheduledFuture<?> future)
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 © 2021. All rights reserved.