public void combine(Future<Boolean> future)
future - the future need to be combinedpublic boolean isCancelled()
isCancelled 在接口中 Future<Boolean>public Boolean get() throws InterruptedException, ExecutionException
get 在接口中 Future<Boolean>InterruptedExceptionExecutionExceptionpublic Boolean get(long timeout, @NotNull @NotNull TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get 在接口中 Future<Boolean>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2022. All rights reserved.