Uses of Interface
io.netty.util.concurrent.EventExecutor
-
Packages that use EventExecutor Package Description io.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them.io.netty.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics.io.netty.resolver Resolves an arbitrary string that represents the name of an endpoint into an address.io.netty.resolver.dns An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well.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.channel
Subinterfaces of EventExecutor in io.netty.channel Modifier and Type Interface Description interfaceEventLoopWill handle all the I/O operations for aChannelonce registered.interfaceIoEventLoopClasses in io.netty.channel that implement EventExecutor Modifier and Type Class Description classAbstractEventLoopSkeletal implementation ofEventLoop.classDefaultEventLoopclassManualIoEventLoopIoEventLoopimplementation that is owned by the user and so needs to be driven by the user manually with the givenThread.classSingleThreadEventLoopAbstract base class forEventLoops that execute all its submitted tasks in a single thread.classSingleThreadIoEventLoopIoEventLoopimplementation that execute all its submitted tasks in a single thread using the providedIoHandler.classThreadPerChannelEventLoopDeprecated.this will be remove in the next-major release.Methods in io.netty.channel that return EventExecutor Modifier and Type Method Description EventExecutorChannelHandlerContext. executor()Returns theEventExecutorwhich is used to execute an arbitrary task.protected EventExecutorDefaultChannelProgressivePromise. executor()protected EventExecutorDefaultChannelPromise. executor()Methods in io.netty.channel that return types with arguments of type EventExecutor Modifier and Type Method Description java.util.Iterator<EventExecutor>ThreadPerChannelEventLoopGroup. iterator()Deprecated.Constructors in io.netty.channel with parameters of type EventExecutor Constructor Description DefaultChannelProgressivePromise(Channel channel, EventExecutor executor)Creates a new instance.DefaultChannelPromise(Channel channel, EventExecutor executor)Creates a new instance. -
Uses of EventExecutor in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement EventExecutor Modifier and Type Class Description classEpollEventLoopDeprecated.UseSingleThreadIoEventLoopwithEpollIoHandler -
Uses of EventExecutor in io.netty.channel.group
Constructors in io.netty.channel.group with parameters of type EventExecutor Constructor Description DefaultChannelGroup(EventExecutor executor)Creates a new group with a generated name and the providedEventExecutorto notify theChannelGroupFutures.DefaultChannelGroup(EventExecutor executor, boolean stayClosed)Creates a new group with a generated name and the providedEventExecutorto notify theChannelGroupFutures.DefaultChannelGroup(java.lang.String name, EventExecutor executor)DefaultChannelGroup(java.lang.String name, EventExecutor executor, boolean stayClosed) -
Uses of EventExecutor in io.netty.channel.nio
Classes in io.netty.channel.nio that implement EventExecutor Modifier and Type Class Description classNioEventLoopDeprecated.UseSingleThreadIoEventLoopwithNioIoHandler -
Uses of EventExecutor in io.netty.handler.traffic
Constructors in io.netty.handler.traffic with parameters of type EventExecutor Constructor Description GlobalTrafficShapingHandler(EventExecutor executor)Create a new instance using default Check Interval value of 1000 ms and default max time as delay allowed value of 15000 ms and no limit. -
Uses of EventExecutor in io.netty.resolver
Methods in io.netty.resolver that return EventExecutor Modifier and Type Method Description protected EventExecutorAbstractAddressResolver. executor()Returns theEventExecutorwhich is used to notify the listeners of theFuturereturned byAbstractAddressResolver.resolve(SocketAddress).protected EventExecutorSimpleNameResolver. executor()Returns theEventExecutorwhich is used to notify the listeners of theFuturereturned bySimpleNameResolver.resolve(String).Methods in io.netty.resolver with parameters of type EventExecutor Modifier and Type Method Description AddressResolver<T>AddressResolverGroup. getResolver(EventExecutor executor)Returns theAddressResolverassociated with the specifiedEventExecutor.protected abstract AddressResolver<T>AddressResolverGroup. newResolver(EventExecutor executor)Invoked byAddressResolverGroup.getResolver(EventExecutor)to create a newAddressResolver.protected AddressResolver<java.net.InetSocketAddress>DefaultAddressResolverGroup. newResolver(EventExecutor executor)protected AddressResolver<java.net.SocketAddress>NoopAddressResolverGroup. newResolver(EventExecutor executor)Constructors in io.netty.resolver with parameters of type EventExecutor Constructor Description AbstractAddressResolver(EventExecutor executor)AbstractAddressResolver(EventExecutor executor, java.lang.Class<? extends T> addressType)CompositeNameResolver(EventExecutor executor, NameResolver<T>... resolvers)DefaultNameResolver(EventExecutor executor)InetNameResolver(EventExecutor executor)InetSocketAddressResolver(EventExecutor executor, NameResolver<java.net.InetAddress> nameResolver)NoopAddressResolver(EventExecutor executor)RoundRobinInetAddressResolver(EventExecutor executor, NameResolver<java.net.InetAddress> nameResolver)SimpleNameResolver(EventExecutor executor) -
Uses of EventExecutor in io.netty.resolver.dns
Methods in io.netty.resolver.dns with parameters of type EventExecutor Modifier and Type Method Description protected AddressResolver<java.net.InetSocketAddress>DnsAddressResolverGroup. newResolver(EventExecutor executor) -
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.classUnorderedThreadPoolEventExecutorDeprecated.The behavior of this event executor deviates from the typical Netty execution model and can cause subtle issues as a result.Methods in io.netty.util.concurrent that return EventExecutor Modifier and Type Method Description EventExecutorAutoScalingEventExecutorChooserFactory.AutoScalingUtilizationMetric. executor()Returns theEventExecutorthis metric belongs too.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(java.util.concurrent.Executor executor, java.lang.Object... args)protected abstract EventExecutorMultithreadEventExecutorGroup. newChild(java.util.concurrent.Executor executor, java.lang.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()Deprecated.Methods in io.netty.util.concurrent that return types with arguments of type EventExecutor Modifier and Type Method Description java.util.Iterator<EventExecutor>AbstractEventExecutor. iterator()java.util.Iterator<EventExecutor>EventExecutorGroup. iterator()java.util.Iterator<EventExecutor>MultithreadEventExecutorGroup. iterator()java.util.Iterator<EventExecutor>NonStickyEventExecutorGroup. iterator()java.util.Iterator<EventExecutor>UnorderedThreadPoolEventExecutor. iterator()Deprecated.Methods in io.netty.util.concurrent with parameters of type EventExecutor Modifier and Type Method Description EventExecutorChooserFactory.EventExecutorChooserAutoScalingEventExecutorChooserFactory. newChooser(EventExecutor[] executors)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, java.lang.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()static EventExecutorThreadExecutorMap. setCurrentExecutor(EventExecutor executor)Set the currentEventExecutorthat is used by theThread.Methods in io.netty.util.internal with parameters of type EventExecutor Modifier and Type Method Description static java.lang.RunnableThreadExecutorMap. apply(java.lang.Runnable command, EventExecutor eventExecutor)Decorate the givenRunnableand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution.static java.util.concurrent.ExecutorThreadExecutorMap. apply(java.util.concurrent.Executor executor, EventExecutor eventExecutor)Decorate the givenExecutorand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution.static java.util.concurrent.ThreadFactoryThreadExecutorMap. apply(java.util.concurrent.ThreadFactory threadFactory, EventExecutor eventExecutor)Decorate the givenThreadFactoryand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution.static EventExecutorThreadExecutorMap. setCurrentExecutor(EventExecutor executor)Set the currentEventExecutorthat is used by theThread.
-