Class DefaultEventExecutorChooserFactory.GenericEventExecutorChooser
java.lang.Object
io.netty.util.concurrent.DefaultEventExecutorChooserFactory.GenericEventExecutorChooser
- All Implemented Interfaces:
EventExecutorChooserFactory.EventExecutorChooser
- Enclosing class:
DefaultEventExecutorChooserFactory
private static final class DefaultEventExecutorChooserFactory.GenericEventExecutorChooser
extends java.lang.Object
implements EventExecutorChooserFactory.EventExecutorChooser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EventExecutor[]private final java.util.concurrent.atomic.AtomicLong -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
idx
private final java.util.concurrent.atomic.AtomicLong idx -
executors
-
-
Constructor Details
-
GenericEventExecutorChooser
GenericEventExecutorChooser(EventExecutor[] executors)
-
-
Method Details
-
next
Description copied from interface:EventExecutorChooserFactory.EventExecutorChooserReturns the newEventExecutorto use.- Specified by:
nextin interfaceEventExecutorChooserFactory.EventExecutorChooser
-