Uses of Interface
io.netty5.util.concurrent.RunnableFuture
-
Packages that use RunnableFuture Package Description io.netty5.util.concurrent Utility classes for concurrent / async tasks. -
-
Uses of RunnableFuture in io.netty5.util.concurrent
Subinterfaces of RunnableFuture in io.netty5.util.concurrent Modifier and Type Interface Description interface
RunnableScheduledFuture<V>
A combination ofRunnableFuture
andComparable
(sorting by their next deadline), with additional methods for scheduling, periodicity, and delay.Methods in io.netty5.util.concurrent that return RunnableFuture Modifier and Type Method Description <C> RunnableFuture<V>
RunnableFuture. addListener(C context, FutureContextListener<? super C,? super V> listener)
RunnableFuture<V>
RunnableFuture. addListener(FutureListener<? super V> listener)
protected <T> RunnableFuture<T>
AbstractEventExecutor. newTaskFor(Runnable runnable, T value)
Decorate the givenRunnable
and its return value, as aRunnableFuture
, such that the returnedRunnableFuture
completes with the given result at the end of executing itsRunnable.run()
method.protected <T> RunnableFuture<T>
AbstractEventExecutor. newTaskFor(Callable<T> callable)
Decorate the givenCallable
and its return value, as aRunnableFuture
, such that the returnedRunnableFuture
completes with the returned result from theCallable
at the end of executing itsRunnable.run()
method.
-