public interface ResponseFuture
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Object get() throws RemotingException
RemotingExceptionObject get(int timeoutInMillis) throws RemotingException
timeoutInMillis - timeout.RemotingExceptionvoid setCallback(ResponseCallback callback)
callback - boolean isDone()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.