public class ERXDelayedRequestHandler.DelayedRequest extends Object implements Callable<WOResponse>
Modifier and Type | Field and Description |
---|---|
protected Future<WOResponse> |
_future |
protected String |
_id |
protected WORequest |
_request |
protected NSTimestamp |
_start |
Constructor and Description |
---|
DelayedRequest(WORequest request) |
Modifier and Type | Method and Description |
---|---|
WOResponse |
call() |
boolean |
cancel() |
Future<WOResponse> |
future() |
String |
id() |
boolean |
isDone() |
WORequest |
request() |
WOResponse |
response(long millis) |
NSTimestamp |
start() |
String |
toString() |
protected WORequest _request
protected Future<WOResponse> _future
protected String _id
protected NSTimestamp _start
public DelayedRequest(WORequest request)
public WOResponse call() throws Exception
call
in interface Callable<WOResponse>
Exception
public WORequest request()
public WOResponse response(long millis) throws InterruptedException, ExecutionException, TimeoutException
public String id()
public NSTimestamp start()
public Future<WOResponse> future()
public boolean isDone()
public boolean cancel()
Copyright © 2002 – 2024 Project Wonder.