Package io.netty.util.concurrent
Class DefaultEventExecutorChooserFactory
- java.lang.Object
-
- io.netty.util.concurrent.DefaultEventExecutorChooserFactory
-
- All Implemented Interfaces:
EventExecutorChooserFactory
public final class DefaultEventExecutorChooserFactory extends java.lang.Object implements EventExecutorChooserFactory
Default implementation which uses simple round-robin to choose nextEventExecutor
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.util.concurrent.EventExecutorChooserFactory
EventExecutorChooserFactory.EventExecutorChooser
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultEventExecutorChooserFactory
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventExecutorChooserFactory.EventExecutorChooser
newChooser(EventExecutor[] executors)
Returns a newEventExecutorChooserFactory.EventExecutorChooser
.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultEventExecutorChooserFactory INSTANCE
-
-
Method Detail
-
newChooser
public EventExecutorChooserFactory.EventExecutorChooser newChooser(EventExecutor[] executors)
Description copied from interface:EventExecutorChooserFactory
Returns a newEventExecutorChooserFactory.EventExecutorChooser
.- Specified by:
newChooser
in interfaceEventExecutorChooserFactory
-
-