| Modifier and Type | Field and Description |
|---|---|
| pack-priv final EventLoopGroup | |
| pack-priv final FastThreadLocal |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public EventLoopGroup | |
| public boolean | isShutdown()
Implements io. true if all EventExecutors managed by this EventExecutorGroup have been
shut down gracefully and moved past the grace period so that they are no
longer accepting any new tasks.
|
| public boolean | isShuttingDown()
Implements io. true if and only if all EventExecutors managed by this EventExecutorGroup
are being shut down gracefully or was shut down.
|
| public Iterator | iterator()
Implements io. T.
|
| public EventLoop | |
| pack-priv EventLoop | |
| public Future | shutdownGracefully(long
the quiet period as described in the documentation quietPeriod, long the maximum amount of time to wait until the executor is
shutting down regardless if a task was submitted during the quiet period. timeout, TimeUnit the unit of unit)quietPeriod and timeoutImplements io. |
| public Future | terminationFuture()
Implements io. Future which is notified when all EventExecutors managed by this
EventExecutorGroup have been terminated.
|
| eventLoopGroup | back to summary |
|---|---|
| pack-priv final EventLoopGroup eventLoopGroup | |
| localLoop | back to summary |
|---|---|
| pack-priv final FastThreadLocal<EventLoop> localLoop | |
| ColocatedEventLoopGroup | back to summary |
|---|---|
| pack-priv ColocatedEventLoopGroup(EventLoopGroup eventLoopGroup) | |
| clean | back to summary |
|---|---|
| pack-priv void clean() | |
| get | back to summary |
|---|---|
| public EventLoopGroup get() Implements java. Doc from java. Gets a result.
| |
| isShutdown | back to summary |
|---|---|
| public boolean isShutdown() Implements io. Doc from io. Returns An executor group that "is shut down" might still be executing tasks that it has queued up, but it will no longer be accepting any new tasks. Once all running and queued tasks have completed, the executor group will be terminated.
| |
| isShuttingDown | back to summary |
|---|---|
| public boolean isShuttingDown() Implements io. Doc from io. Returns An executor group that "is shutting down" can still accept new tasks for a little while (the grace period), but will eventually start rejecting new tasks. At that point, the executor group will be shut down.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements io. Doc from java. Returns an iterator over elements of type
| |
| next | back to summary |
|---|---|
| public EventLoop next() Implements io. Doc from io. Return the next
| |
| nextInternal | back to summary |
|---|---|
pack-priv EventLoop nextInternal()
| |
| shutdownGracefully | back to summary |
|---|---|
| public Future Implements io. Doc from io. Signals this executor that the caller wants the executor to be shut down. Once this method is called,
| |
| terminationFuture | back to summary |
|---|---|
| public Future Implements io. Doc from io. Returns the
| |