|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseFuture
Future. (API/SPI, Prototype, ThreadSafe)
ExchangeChannel.request(Object)
,
ExchangeChannel.request(Object, int)
Method Summary | |
---|---|
Object |
get()
get result. |
Object |
get(int timeoutInMillis)
get result with the specified timeout. |
boolean |
isDone()
check is done. |
void |
setCallback(ResponseCallback callback)
set callback. |
Method Detail |
---|
Object get() throws RemotingException
RemotingException
Object get(int timeoutInMillis) throws RemotingException
timeoutInMillis
- timeout.
RemotingException
void setCallback(ResponseCallback callback)
callback
- boolean isDone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |