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 boolean
cancel(boolean mayInterruptIfRunning)
Object
get()
Object
get(long timeout, TimeUnit unit)
boolean
isCancelled()
boolean
isDone()
-
-
-
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:
isCancelled
in interfaceFuture<V>
-
get
public Object get() throws InterruptedException, ExecutionException
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
-
get
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
-