V
- public class HttpRequestFutureTask<V> extends FutureTask<V>
Modifier and Type | Field and Description |
---|---|
private HttpRequestTaskCallable<V> |
callable |
private HttpUriRequest |
request |
Constructor and Description |
---|
HttpRequestFutureTask(HttpUriRequest request,
HttpRequestTaskCallable<V> httpCallable) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
long |
endedTime() |
long |
requestDuration() |
long |
scheduledTime() |
long |
startedTime() |
long |
taskDuration() |
String |
toString() |
done, get, get, isCancelled, isDone, run, runAndReset, set, setException
private final HttpUriRequest request
private final HttpRequestTaskCallable<V> callable
public HttpRequestFutureTask(HttpUriRequest request, HttpRequestTaskCallable<V> httpCallable)
public boolean cancel(boolean mayInterruptIfRunning)
public long scheduledTime()
public long startedTime()
public long endedTime()
public long requestDuration()
public long taskDuration()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses