private static final class DefaultEventExecutorChooserFactory.GenericEventExecutorChooser extends java.lang.Object implements EventExecutorChooserFactory.EventExecutorChooser
| Modifier and Type | Field and Description |
|---|---|
private EventExecutor[] |
executors |
private java.util.concurrent.atomic.AtomicInteger |
idx |
| Constructor and Description |
|---|
GenericEventExecutorChooser(EventExecutor[] executors) |
| Modifier and Type | Method and Description |
|---|---|
EventExecutor |
next()
Returns the new
EventExecutor to use. |
private final java.util.concurrent.atomic.AtomicInteger idx
private final EventExecutor[] executors
GenericEventExecutorChooser(EventExecutor[] executors)
public EventExecutor next()
EventExecutorChooserFactory.EventExecutorChooserEventExecutor to use.next in interface EventExecutorChooserFactory.EventExecutorChooser