| 构造器和说明 |
|---|
LazyFuture() |
public boolean reset()
false if it was already in initial stateprotected abstract T run() throws Exception
Exceptionpublic T get() throws InterruptedException, ExecutionException
get 在接口中 Future<T>InterruptedExceptionExecutionExceptionpublic T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException
get 在接口中 Future<T>InterruptedExceptionExecutionExceptionpublic boolean isCancelled()
isCancelled 在接口中 Future<T>Copyright © 2017. All rights reserved.