Uses of Interface
io.netty.util.concurrent.Future
-
Packages that use Future Package Description io.netty.util Utility classes used across multiple packages.io.netty.util.concurrent Utility classes for concurrent / async tasks. -
-
Uses of Future in io.netty.util
Methods in io.netty.util that return Future Modifier and Type Method Description Future<OUT>
AsyncMapping. map(IN input, Promise<OUT> promise)
Returns theFuture
that will provide the result of the mapping. -
Uses of Future in io.netty.util.concurrent
Classes in io.netty.util.concurrent with type parameters of type Future Modifier and Type Interface Description interface
GenericFutureListener<F extends Future<?>>
Listens to the result of aFuture
.class
PromiseAggregator<V,F extends Future<V>>
Deprecated.class
PromiseNotifier<V,F extends Future<V>>
GenericFutureListener
implementation which takes otherPromise
s and notifies them on completion.Subinterfaces of Future in io.netty.util.concurrent Modifier and Type Interface Description interface
ProgressiveFuture<V>
AFuture
which is used to indicate the progress of an operation.interface
ProgressivePromise<V>
SpecialProgressiveFuture
which is writable.interface
Promise<V>
SpecialFuture
which is writable.interface
ScheduledFuture<V>
The result of a scheduled asynchronous operation.Classes in io.netty.util.concurrent that implement Future Modifier and Type Class Description class
AbstractFuture<V>
AbstractFuture
implementation which does not allow for cancellation.class
CompleteFuture<V>
class
DefaultProgressivePromise<V>
class
DefaultPromise<V>
class
FailedFuture<V>
TheCompleteFuture
which is failed already.class
SucceededFuture<V>
TheCompleteFuture
which is succeeded already.Methods in io.netty.util.concurrent with type parameters of type Future Modifier and Type Method Description static <V,F extends Future<V>>
FPromiseNotifier. cascade(boolean logNotifyFailure, F future, Promise<? super V> promise)
static <V,F extends Future<V>>
FPromiseNotifier. cascade(F future, Promise<? super V> promise)
Methods in io.netty.util.concurrent that return Future Modifier and Type Method Description Future<V>
CompleteFuture. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Future<V>
Future. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Adds the specified listener to this future.Future<V>
CompleteFuture. addListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
Future<V>
Future. addListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
Adds the specified listeners to this future.Future<V>
CompleteFuture. await()
Future<V>
Future. await()
Waits for this future to be completed.Future<V>
CompleteFuture. awaitUninterruptibly()
Future<V>
Future. awaitUninterruptibly()
Waits for this future to be completed without interruption.default <V> Future<V>
EventExecutor. newFailedFuture(Throwable cause)
Create a newFuture
which is marked as failed already.<V> Future<V>
UnorderedThreadPoolEventExecutor. newFailedFuture(Throwable cause)
default <V> Future<V>
EventExecutor. newSucceededFuture(V result)
Create a newFuture
which is marked as succeeded already.<V> Future<V>
UnorderedThreadPoolEventExecutor. newSucceededFuture(V result)
Future<V>
CompleteFuture. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Future<V>
Future. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Removes the first occurrence of the specified listener from this future.Future<V>
CompleteFuture. removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
Future<V>
Future. removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
Removes the first occurrence for each of the listeners from this future.Future<?>
AbstractEventExecutor. shutdownGracefully()
Future<?>
AbstractEventExecutorGroup. shutdownGracefully()
Future<?>
EventExecutorGroup. shutdownGracefully()
Shortcut method forEventExecutorGroup.shutdownGracefully(long, long, TimeUnit)
with sensible default values.Future<?>
EventExecutorGroup. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Signals this executor that the caller wants the executor to be shut down.Future<?>
GlobalEventExecutor. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Future<?>
ImmediateEventExecutor. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Future<?>
MultithreadEventExecutorGroup. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Future<?>
NonStickyEventExecutorGroup. shutdownGracefully()
Future<?>
NonStickyEventExecutorGroup. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Future<?>
SingleThreadEventExecutor. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Future<?>
UnorderedThreadPoolEventExecutor. shutdownGracefully()
Future<?>
UnorderedThreadPoolEventExecutor. shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
Future<?>
AbstractEventExecutor. submit(Runnable task)
<T> Future<T>
AbstractEventExecutor. submit(Runnable task, T result)
<T> Future<T>
AbstractEventExecutor. submit(Callable<T> task)
Future<?>
AbstractEventExecutorGroup. submit(Runnable task)
<T> Future<T>
AbstractEventExecutorGroup. submit(Runnable task, T result)
<T> Future<T>
AbstractEventExecutorGroup. submit(Callable<T> task)
Future<?>
EventExecutorGroup. submit(Runnable task)
<T> Future<T>
EventExecutorGroup. submit(Runnable task, T result)
<T> Future<T>
EventExecutorGroup. submit(Callable<T> task)
Future<?>
NonStickyEventExecutorGroup. submit(Runnable task)
<T> Future<T>
NonStickyEventExecutorGroup. submit(Runnable task, T result)
<T> Future<T>
NonStickyEventExecutorGroup. submit(Callable<T> task)
Future<?>
UnorderedThreadPoolEventExecutor. submit(Runnable task)
<T> Future<T>
UnorderedThreadPoolEventExecutor. submit(Runnable task, T result)
<T> Future<T>
UnorderedThreadPoolEventExecutor. submit(Callable<T> task)
Future<V>
CompleteFuture. sync()
Future<V>
FailedFuture. sync()
Future<V>
Future. sync()
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.Future<V>
CompleteFuture. syncUninterruptibly()
Future<V>
FailedFuture. syncUninterruptibly()
Future<V>
Future. syncUninterruptibly()
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.Future<?>
EventExecutorGroup. terminationFuture()
Returns theFuture
which is notified when allEventExecutor
s managed by thisEventExecutorGroup
have been terminated.Future<?>
GlobalEventExecutor. terminationFuture()
Future<?>
ImmediateEventExecutor. terminationFuture()
Future<?>
MultithreadEventExecutorGroup. terminationFuture()
Future<?>
NonStickyEventExecutorGroup. terminationFuture()
Future<?>
SingleThreadEventExecutor. terminationFuture()
Future<?>
UnorderedThreadPoolEventExecutor. terminationFuture()
Methods in io.netty.util.concurrent with parameters of type Future Modifier and Type Method Description void
PromiseCombiner. add(Future future)
Adds a new future to be combined.void
PromiseCombiner. addAll(Future... futures)
Adds new futures to be combined.static <X> void
UnaryPromiseNotifier. cascadeTo(Future<X> completedFuture, Promise<? super X> promise)
Deprecated.protected static void
DefaultPromise. notifyListener(EventExecutor eventExecutor, Future<?> future, GenericFutureListener<?> listener)
Notify a listener that a future has completed.void
UnaryPromiseNotifier. operationComplete(Future<T> future)
Deprecated.Method parameters in io.netty.util.concurrent with type arguments of type Future Modifier and Type Method Description Future<V>
CompleteFuture. addListener(GenericFutureListener<? extends Future<? super V>> listener)
ProgressivePromise<V>
DefaultProgressivePromise. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Promise<V>
DefaultPromise. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Future<V>
Future. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Adds the specified listener to this future.ProgressiveFuture<V>
ProgressiveFuture. addListener(GenericFutureListener<? extends Future<? super V>> listener)
ProgressivePromise<V>
ProgressivePromise. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Promise<V>
Promise. addListener(GenericFutureListener<? extends Future<? super V>> listener)
Future<V>
CompleteFuture. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
ProgressivePromise<V>
DefaultProgressivePromise. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Promise<V>
DefaultPromise. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Future<V>
Future. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Removes the first occurrence of the specified listener from this future.ProgressiveFuture<V>
ProgressiveFuture. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
ProgressivePromise<V>
ProgressivePromise. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Promise<V>
Promise. removeListener(GenericFutureListener<? extends Future<? super V>> listener)
-