org.apache.curator.utils
Class CloseableExecutorService.InternalScheduledFutureTask
java.lang.Object
org.apache.curator.utils.CloseableExecutorService.InternalScheduledFutureTask
- All Implemented Interfaces:
- Future<Void>
- Enclosing class:
- CloseableExecutorService
protected class CloseableExecutorService.InternalScheduledFutureTask
- extends Object
- implements Future<Void>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseableExecutorService.InternalScheduledFutureTask
public CloseableExecutorService.InternalScheduledFutureTask(ScheduledFuture<?> scheduledFuture)
cancel
public boolean cancel(boolean mayInterruptIfRunning)
- Specified by:
cancel in interface Future<Void>
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled in interface Future<Void>
isDone
public boolean isDone()
- Specified by:
isDone in interface Future<Void>
get
public Void get()
throws InterruptedException,
ExecutionException
- Specified by:
get in interface Future<Void>
- Throws:
InterruptedException
ExecutionException
get
public Void get(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
- Specified by:
get in interface Future<Void>
- Throws:
InterruptedException
ExecutionException
TimeoutException
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.