Uses of Interface
io.netty.util.concurrent.EventExecutor
-
Packages that use EventExecutor Package Description io.netty.util.concurrent Utility classes for concurrent / async tasks.io.netty.util.internal Internal-use-only utilities which is not allowed to be used outside Netty. -
-
Uses of EventExecutor in io.netty.util.concurrent
Subinterfaces of EventExecutor in io.netty.util.concurrent Modifier and Type Interface Description interface
OrderedEventExecutor
Marker interface forEventExecutor
s that will process all submitted tasks in an ordered / serial fashion.Classes in io.netty.util.concurrent that implement EventExecutor Modifier and Type Class Description class
AbstractEventExecutor
Abstract base class forEventExecutor
implementations.class
AbstractScheduledEventExecutor
Abstract base class forEventExecutor
s that want to support scheduling.class
DefaultEventExecutor
DefaultSingleThreadEventExecutor
implementation which just execute all submitted task in a serial fashion.class
GlobalEventExecutor
Single-thread singletonEventExecutor
.class
ImmediateEventExecutor
ExecutesRunnable
objects in the caller's thread.class
SingleThreadEventExecutor
Abstract base class forOrderedEventExecutor
's that execute all its submitted tasks in a single thread.class
UnorderedThreadPoolEventExecutor
EventExecutor
implementation which makes no guarantees about the ordering of task execution that are submitted because there may be multiple threads executing these tasks.Methods in io.netty.util.concurrent that return EventExecutor Modifier and Type Method Description protected EventExecutor
CompleteFuture. executor()
Return theEventExecutor
which is used by thisCompleteFuture
.protected EventExecutor
DefaultPromise. executor()
Get the executor used to notify listeners when this promise is complete.protected EventExecutor
DefaultEventExecutorGroup. newChild(Executor executor, Object... args)
protected abstract EventExecutor
MultithreadEventExecutorGroup. newChild(Executor executor, Object... args)
Create a new EventExecutor which will later then accessible via theMultithreadEventExecutorGroup.next()
method.EventExecutor
AbstractEventExecutor. next()
EventExecutor
EventExecutorChooserFactory.EventExecutorChooser. next()
Returns the newEventExecutor
to use.EventExecutor
EventExecutorGroup. next()
Returns one of theEventExecutor
s managed by thisEventExecutorGroup
.EventExecutor
MultithreadEventExecutorGroup. next()
EventExecutor
NonStickyEventExecutorGroup. next()
EventExecutor
UnorderedThreadPoolEventExecutor. next()
Methods in io.netty.util.concurrent that return types with arguments of type EventExecutor Modifier and Type Method Description Iterator<EventExecutor>
AbstractEventExecutor. iterator()
Iterator<EventExecutor>
EventExecutorGroup. iterator()
Iterator<EventExecutor>
MultithreadEventExecutorGroup. iterator()
Iterator<EventExecutor>
NonStickyEventExecutorGroup. iterator()
Iterator<EventExecutor>
UnorderedThreadPoolEventExecutor. iterator()
Methods in io.netty.util.concurrent with parameters of type EventExecutor Modifier and Type Method Description EventExecutorChooserFactory.EventExecutorChooser
DefaultEventExecutorChooserFactory. newChooser(EventExecutor[] executors)
EventExecutorChooserFactory.EventExecutorChooser
EventExecutorChooserFactory. newChooser(EventExecutor[] executors)
Returns a newEventExecutorChooserFactory.EventExecutorChooser
.protected static void
DefaultPromise. notifyListener(EventExecutor eventExecutor, Future<?> future, GenericFutureListener<?> listener)
Notify a listener that a future has completed.Constructors in io.netty.util.concurrent with parameters of type EventExecutor Constructor Description CompleteFuture(EventExecutor executor)
Creates a new instance.DefaultProgressivePromise(EventExecutor executor)
Creates a new instance.DefaultPromise(EventExecutor executor)
Creates a new instance.FailedFuture(EventExecutor executor, Throwable cause)
Creates a new instance.PromiseCombiner(EventExecutor executor)
TheEventExecutor
to use for notifications.SucceededFuture(EventExecutor executor, V result)
Creates a new instance. -
Uses of EventExecutor in io.netty.util.internal
Methods in io.netty.util.internal that return EventExecutor Modifier and Type Method Description static EventExecutor
ThreadExecutorMap. currentExecutor()
Methods in io.netty.util.internal with parameters of type EventExecutor Modifier and Type Method Description static Runnable
ThreadExecutorMap. apply(Runnable command, EventExecutor eventExecutor)
Decorate the givenRunnable
and ensureThreadExecutorMap.currentExecutor()
will returneventExecutor
when called from within theRunnable
during execution.static Executor
ThreadExecutorMap. apply(Executor executor, EventExecutor eventExecutor)
Decorate the givenExecutor
and ensureThreadExecutorMap.currentExecutor()
will returneventExecutor
when called from within theRunnable
during execution.static ThreadFactory
ThreadExecutorMap. apply(ThreadFactory threadFactory, EventExecutor eventExecutor)
Decorate the givenThreadFactory
and ensureThreadExecutorMap.currentExecutor()
will returneventExecutor
when called from within theRunnable
during execution.
-