| 构造器和说明 |
|---|
OTSBasicFuture(OTSFutureCallback<T> callback) |
public OTSBasicFuture(OTSFutureCallback<T> callback)
public T get() throws OTSException, ClientException
get 在接口中 OTSFuture<T>OTSExceptionClientExceptionpublic T get(long timeout, TimeUnit unit) throws OTSException, ClientException, TimeoutException
get 在接口中 OTSFuture<T>OTSExceptionClientExceptionTimeoutExceptionpublic boolean completed(T result)
public boolean failed(Exception exception)
Copyright © 2019. All Rights Reserved.