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 interfaceOrderedEventExecutorMarker interface forEventExecutors 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 classAbstractEventExecutorAbstract base class forEventExecutorimplementations.classAbstractScheduledEventExecutorAbstract base class forEventExecutors that want to support scheduling.classDefaultEventExecutorDefaultSingleThreadEventExecutorimplementation which just execute all submitted task in a serial fashion.classGlobalEventExecutorSingle-thread singletonEventExecutor.classImmediateEventExecutorExecutesRunnableobjects in the caller's thread.classSingleThreadEventExecutorAbstract base class forOrderedEventExecutor's that execute all its submitted tasks in a single thread.classUnorderedThreadPoolEventExecutorEventExecutorimplementation 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 EventExecutorCompleteFuture. executor()Return theEventExecutorwhich is used by thisCompleteFuture.protected EventExecutorDefaultPromise. executor()Get the executor used to notify listeners when this promise is complete.protected EventExecutorDefaultEventExecutorGroup. newChild(Executor executor, Object... args)protected abstract EventExecutorMultithreadEventExecutorGroup. newChild(Executor executor, Object... args)Create a new EventExecutor which will later then accessible via theMultithreadEventExecutorGroup.next()method.EventExecutorAbstractEventExecutor. next()EventExecutorEventExecutorChooserFactory.EventExecutorChooser. next()Returns the newEventExecutorto use.EventExecutorEventExecutorGroup. next()Returns one of theEventExecutors managed by thisEventExecutorGroup.EventExecutorMultithreadEventExecutorGroup. next()EventExecutorNonStickyEventExecutorGroup. next()EventExecutorUnorderedThreadPoolEventExecutor. 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.EventExecutorChooserDefaultEventExecutorChooserFactory. newChooser(EventExecutor[] executors)EventExecutorChooserFactory.EventExecutorChooserEventExecutorChooserFactory. newChooser(EventExecutor[] executors)Returns a newEventExecutorChooserFactory.EventExecutorChooser.protected static voidDefaultPromise. 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)TheEventExecutorto 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 EventExecutorThreadExecutorMap. currentExecutor()Methods in io.netty.util.internal with parameters of type EventExecutor Modifier and Type Method Description static RunnableThreadExecutorMap. apply(Runnable command, EventExecutor eventExecutor)Decorate the givenRunnableand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution.static ExecutorThreadExecutorMap. apply(Executor executor, EventExecutor eventExecutor)Decorate the givenExecutorand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution.static ThreadFactoryThreadExecutorMap. apply(ThreadFactory threadFactory, EventExecutor eventExecutor)Decorate the givenThreadFactoryand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution.
-