| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ChannelGroup | |
| private volatile boolean | |
| private final ConcurrentMap | |
| private final VertxEventLoopGroup |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| private Handler | |
| public void | |
| public boolean | |
| protected void | initChannel(Channel
the ch)Channel which was registered.Implements abstract io. This method will be called once the |
| public synchronized boolean | |
| public VertxEventLoopGroup |
| channelGroup | back to summary |
|---|---|
| private final ChannelGroup channelGroup | |
| hasHandlers | back to summary |
|---|---|
| private volatile boolean hasHandlers | |
| workerMap | back to summary |
|---|---|
| private final ConcurrentMap<EventLoop, ServerChannelLoadBalancer. | |
| workers | back to summary |
|---|---|
| private final VertxEventLoopGroup workers | |
| ServerChannelLoadBalancer | back to summary |
|---|---|
| pack-priv ServerChannelLoadBalancer(EventExecutor executor) | |
| addWorker | back to summary |
|---|---|
| public synchronized void addWorker(EventLoop eventLoop, Handler<Channel> handler) | |
| chooseInitializer | back to summary |
|---|---|
| private Handler | |
| close | back to summary |
|---|---|
| public void close() Close the load-balancer and all registered channels. | |
| hasHandlers | back to summary |
|---|---|
| public boolean hasHandlers() | |
| initChannel | back to summary |
|---|---|
| protected void initChannel(Channel ch) Implements abstract io. Doc from io. This method will be called once the | |
| removeWorker | back to summary |
|---|---|
| public synchronized boolean removeWorker(EventLoop worker, Handler<Channel> handler) | |
| workers | back to summary |
|---|---|
| public VertxEventLoopGroup workers() | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv Handler | |
| pack-priv boolean | |
| pack-priv boolean |
| list | back to summary |
|---|---|
| private final List<Handler<Channel>> list | |
| pos | back to summary |
|---|---|
| private int pos | |
| WorkerList | back to summary |
|---|---|
| private WorkerList() | |
| addWorker | back to summary |
|---|---|
| pack-priv void addWorker(Handler<Channel> handler) | |
| checkPos | back to summary |
|---|---|
| pack-priv void checkPos() | |
| chooseHandler | back to summary |
|---|---|
| pack-priv Handler | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| removeWorker | back to summary |
|---|---|
| pack-priv boolean removeWorker(Handler<Channel> handler) | |