Package io.quarkus.mutiny.runtime
Class ContextualRunnableScheduledFuture<V>
java.lang.Object
io.quarkus.mutiny.runtime.ContextualRunnableScheduledFuture<V>
- All Implemented Interfaces:
Comparable<Delayed>,Runnable,Delayed,Future<V>,RunnableFuture<V>,RunnableScheduledFuture<V>,ScheduledFuture<V>
-
Constructor Summary
ConstructorsConstructorDescriptionContextualRunnableScheduledFuture(org.jboss.threads.ContextHandler<Object> contextHandler, Object context, RunnableScheduledFuture<V> runnable) -
Method Summary
-
Constructor Details
-
ContextualRunnableScheduledFuture
public ContextualRunnableScheduledFuture(org.jboss.threads.ContextHandler<Object> contextHandler, Object context, RunnableScheduledFuture<V> runnable)
-
-
Method Details
-
isPeriodic
public boolean isPeriodic()- Specified by:
isPeriodicin interfaceRunnableScheduledFuture<V>
-
getDelay
-
compareTo
- Specified by:
compareToin interfaceComparable<V>
-
run
public void run()- Specified by:
runin interfaceRunnable- Specified by:
runin interfaceRunnableFuture<V>
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<V>
-
isDone
public boolean isDone() -
get
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-