Package fish.payara.nucleus.exec
Class ScheduledTaskFuture<V>
- java.lang.Object
-
- fish.payara.nucleus.exec.ScheduledTaskFuture<V>
-
-
Constructor Summary
Constructors Constructor Description ScheduledTaskFuture(com.hazelcast.scheduledexecutor.IScheduledFuture<V> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Objectget()Objectget(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()
-
-
-
Constructor Detail
-
ScheduledTaskFuture
public ScheduledTaskFuture(com.hazelcast.scheduledexecutor.IScheduledFuture<V> future)
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<V>
-
get
public Object get() throws InterruptedException, ExecutionException
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
-