接口 ResponseFuture
-
@Deprecated public interface ResponseFuture
已过时。2019-06-20
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 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.
-
-
-
方法详细资料
-
get
Object get() throws RemotingException
已过时。get result.- 返回:
- result.
- 抛出:
RemotingException
-
get
Object get(int timeoutInMillis) throws RemotingException
已过时。get result with the specified timeout.- 参数:
timeoutInMillis
- timeout.- 返回:
- result.
- 抛出:
RemotingException
-
setCallback
void setCallback(ResponseCallback callback)
已过时。set callback.- 参数:
callback
-
-
isDone
boolean isDone()
已过时。check is done.- 返回:
- done or not.
-
-