接口 RequestFuture
- 所有已知实现类:
DefaultRequestFuture
public interface RequestFuture
future for request.
- 版本:
- $Id: RequestFuture.java, v 0.1 2020年09月01日 6:31 PM liuzunfei Exp $
- 作者:
- liuzunfei
-
方法概要
-
方法详细资料
-
isDone
boolean isDone()check that it is done or not..- 返回:
- is done .
-
get
get response without timeouts.- 返回:
- return response if done.
- 抛出:
Exception- exception throws .
-
get
get response with a given timeouts.- 参数:
timeout- timeout milliseconds.- 返回:
- return response if done.
- 抛出:
Exception- exception throws .
-