Uses of Interface
io.netty5.util.concurrent.EventExecutor
-
Packages that use EventExecutor Package Description io.netty5.util.concurrent Utility classes for concurrent / async tasks.io.netty5.util.internal Internal-use-only utilities which is not allowed to be used outside Netty. -
-
Uses of EventExecutor in io.netty5.util.concurrent
Subinterfaces of EventExecutor in io.netty5.util.concurrent Modifier and Type Interface Description interfaceOrderedEventExecutorMarker interface forEventExecutors that will process all submitted tasks in an ordered / serial fashion.Classes in io.netty5.util.concurrent that implement EventExecutor Modifier and Type Class Description classAbstractEventExecutorAbstract base class forEventExecutorimplementations.classAbstractScheduledEventExecutorAbstract base class forEventExecutors that want to support scheduling.classGlobalEventExecutorSingle-thread singletonEventExecutor.classImmediateEventExecutorExecutesRunnableobjects in the caller's thread.classSingleThreadEventExecutorOrderedEventExecutor's implementation 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.netty5.util.concurrent that return EventExecutor Modifier and Type Method Description EventExecutorDefaultPromise. executor()Get the executor used to notify listeners when this promise is complete.default EventExecutorFutureCompletionStage. executor()protected EventExecutorMultithreadEventExecutorGroup. newChild(Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler, Object... args)Create a new EventExecutor which will later then accessible via theMultithreadEventExecutorGroup.next()method.default EventExecutorEventExecutor. next()Returns a reference to itself.EventExecutorEventExecutorGroup. next()Returns one of theEventExecutors managed by thisEventExecutorGroup.EventExecutorMultithreadEventExecutorGroup. next()Returns the nextEventExecutorto use.EventExecutorNonStickyEventExecutorGroup. next()Methods in io.netty5.util.concurrent that return types with arguments of type EventExecutor Modifier and Type Method Description protected List<EventExecutor>MultithreadEventExecutorGroup. executors()TheEventExecutors that are used by thisMultithreadEventExecutorGroup.default Iterator<EventExecutor>EventExecutor. iterator()Iterator<EventExecutor>EventExecutorGroup. iterator()Iterator<EventExecutor>MultithreadEventExecutorGroup. iterator()Iterator<EventExecutor>NonStickyEventExecutorGroup. iterator()Methods in io.netty5.util.concurrent with parameters of type EventExecutor Modifier and Type Method Description protected voidDefaultPromise. checkDeadLock(EventExecutor executor)static <U> FutureCompletionStage<U>FutureCompletionStage. toFutureCompletionStage(CompletionStage<U> stage, EventExecutor executor)Returns aFutureCompletionStagefor the givenCompletionStagethat is pinned to the givenEventExecutor.Constructors in io.netty5.util.concurrent with parameters of type EventExecutor Constructor Description DefaultPromise(EventExecutor executor)Creates a new unfulfilled promise.PromiseCombiner(EventExecutor executor)TheEventExecutorto use for notifications. -
Uses of EventExecutor in io.netty5.util.internal
Methods in io.netty5.util.internal that return EventExecutor Modifier and Type Method Description static EventExecutorThreadExecutorMap. currentExecutor()Methods in io.netty5.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.
-