| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized boolean | awaitTermination(long
the maximum time to wait timeout, TimeUnit the time unit of the timeout argument unit)Implements java. Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first. |
| private void | |
| private VertxEventLoopGroup. | |
| public boolean | isShutdown()
Implements java. Returns |
| public boolean | isShuttingDown()
Implements io. Returns |
| public boolean | isTerminated()
Implements java. Returns |
| public Iterator | iterator()
Implements io. Returns an iterator over elements of type |
| public synchronized EventLoop | next()
Implements io. Return the next |
| public ChannelFuture | |
| public ChannelFuture | register(Channel channel, ChannelPromise promise)
Implements io. |
| public ChannelFuture | register(ChannelPromise promise)
Implements io. Register a |
| public synchronized void | |
| public synchronized void | shutdown()
Implements abstract io. Implements io. Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. |
| 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 shutdown()
regardless if a task was submitted during the quiet period timeout, TimeUnit the unit of unit)quietPeriod and timeoutImplements io. Signals this executor that the caller wants the executor to be shut down. |
| public Future | terminationFuture()
Implements io. Returns the |
| public synchronized int |
| children | back to summary |
|---|---|
| private final Set<EventExecutor> children | |
| pos | back to summary |
|---|---|
| private int pos | |
| workers | back to summary |
|---|---|
| private final List<VertxEventLoopGroup. | |
| VertxEventLoopGroup | back to summary |
|---|---|
| public VertxEventLoopGroup() | |
| addWorker | back to summary |
|---|---|
| public synchronized void addWorker(EventLoop worker) | |
| awaitTermination | back to summary |
|---|---|
| public synchronized boolean awaitTermination(long timeout, TimeUnit unit) Implements java. Doc from java. Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first. | |
| checkPos | back to summary |
|---|---|
| private void checkPos() | |
| findHolder | back to summary |
|---|---|
| private VertxEventLoopGroup. | |
| isShutdown | back to summary |
|---|---|
| public boolean isShutdown() Implements java. Doc from java. Returns
| |
| isShuttingDown | back to summary |
|---|---|
| public boolean isShuttingDown() Implements io. Doc from io. Returns
| |
| isTerminated | back to summary |
|---|---|
| public boolean isTerminated() Implements java. Doc from java. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements io. Doc from java. Returns an iterator over elements of type
| |
| next | back to summary |
|---|---|
| public synchronized EventLoop next() Implements io. Doc from io. Return the next
| |
| register | back to summary |
|---|---|
| public ChannelFuture register(Channel channel) Implements io. Doc from io. Register a
| |
| register | back to summary |
|---|---|
| public ChannelFuture register(Channel channel, ChannelPromise promise) Implements io. Doc from io. Register a
| |
| register | back to summary |
|---|---|
| public ChannelFuture register(ChannelPromise promise) Implements io. Doc from io. Register a
| |
| removeWorker | back to summary |
|---|---|
| public synchronized void removeWorker(EventLoop worker) | |
| shutdown | back to summary |
|---|---|
| public synchronized void shutdown() Implements abstract io. Implements io. Doc from java. Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. Invocation has no additional effect if already shut down. This method does not wait for previously submitted tasks to
complete execution. Use | |
| 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
| |
| workerCount | back to summary |
|---|---|
| public synchronized int workerCount() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv final EventLoop |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| count | back to summary |
|---|---|
| pack-priv int count | |
| worker | back to summary |
|---|---|
| pack-priv final EventLoop worker | |
| EventLoopHolder | back to summary |
|---|---|
| pack-priv EventLoopHolder(EventLoop worker) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Iterator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public EventExecutor | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| holderIt | back to summary |
|---|---|
| private final Iterator<VertxEventLoopGroup. | |
| EventLoopIterator | back to summary |
|---|---|
| public EventLoopIterator(Iterator<VertxEventLoopGroup. | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public EventExecutor next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |