| Constructor and Description |
|---|
CloseableExecutorService.InternalScheduledFutureTask(ScheduledFuture<?> scheduledFuture) |
public CloseableExecutorService.InternalScheduledFutureTask(ScheduledFuture<?> scheduledFuture)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Void>public Void get() throws InterruptedException, ExecutionException
get in interface Future<Void>InterruptedExceptionExecutionExceptionpublic Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<Void>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.