|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alipay.remoting.rpc.RpcResponseFuture
public class RpcResponseFuture
The future for response.
| Constructor Summary | |
|---|---|
RpcResponseFuture(String addr,
InvokeFuture future)
Constructor |
|
| Method Summary | |
|---|---|
Object |
get()
|
Object |
get(int timeoutMillis)
get result with timeout specified if request done, resolve normal responseObject if request not done, throws InvokeTimeoutException |
boolean |
isDone()
Whether the future is done. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RpcResponseFuture(String addr,
InvokeFuture future)
addr - future - | Method Detail |
|---|
public boolean isDone()
public Object get(int timeoutMillis)
throws InvokeTimeoutException,
RemotingException,
InterruptedException
timeoutMillis -
InvokeTimeoutException
RemotingException
InterruptedException
public Object get()
throws RemotingException,
InterruptedException
RemotingException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||