| Modifier and Type | Field and Description |
|---|---|
| private static final Iterator | |
| private final ChannelGroup |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ChannelGroupFuture | addListener(GenericFutureListener<? extends Future<? super Void>> listener)
Implements io. |
| public ChannelGroupFuture | addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Implements io. |
| public ChannelGroupFuture | await()
Implements io. |
| public boolean | await(long timeout, TimeUnit unit)
Implements io. |
| public boolean | await(long timeoutMillis)
Implements io. |
| public ChannelGroupFuture | awaitUninterruptibly()
Implements io. |
| public boolean | awaitUninterruptibly(long timeout, TimeUnit unit)
Implements io. |
| public boolean | awaitUninterruptibly(long timeoutMillis)
Implements io. |
| public boolean | cancel(boolean
this value has no effect in this implementation. mayInterruptIfRunning)Implements io. |
| public ChannelGroupException | cause()
Implements io. |
| public ChannelFuture | find(Channel channel)
Implements io. ChannelFuture of the individual I/O operation which
is associated with the specified Channel.
|
| public Void | get()
Implements java. |
| public Void | get(long
the maximum time to wait timeout, TimeUnit the time unit of the timeout argument unit)Implements java. |
| public Void | |
| public ChannelGroup | group()
Implements io. ChannelGroup which is associated with this future.
|
| public boolean | isCancellable()
Implements io. true if and only if the operation can be cancelled via cancel(boolean).
|
| public boolean | isCancelled()
Implements java. true if this task was cancelled before it completed
normally.
|
| public boolean | |
| public boolean | isPartialFailure()
Implements io. true if and only if the I/O operations associated with
this future have failed partially with some success.
|
| public boolean | isPartialSuccess()
Implements io. true if and only if the I/O operations associated with
this future were partially successful with some failure.
|
| public boolean | isSuccess()
Implements io. true if and only if all I/O operations associated with
this future were successful without any failure.
|
| public Iterator | iterator()
Implements io. Iterator that enumerates all ChannelFutures
which are associated with this future.
|
| private static RuntimeException | |
| public ChannelGroupFuture | removeListener(GenericFutureListener<? extends Future<? super Void>> listener)
Implements io. |
| public ChannelGroupFuture | removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Implements io. |
| public ChannelGroupFuture | sync()
Implements io. |
| public ChannelGroupFuture | syncUninterruptibly()
Implements io. |
| EMPTY | back to summary |
|---|---|
| private static final Iterator<ChannelFuture> EMPTY | |
| group | back to summary |
|---|---|
| private final ChannelGroup group | |
| VoidChannelGroupFuture | back to summary |
|---|---|
| pack-priv VoidChannelGroupFuture(ChannelGroup group) | |
| addListener | back to summary |
|---|---|
| public ChannelGroupFuture addListener(GenericFutureListener<? extends Future<? super Void>> listener) Implements io. Doc from io. Adds the specified listener to this future. The specified listener is notified when this future is done. If this future is already completed, the specified listener is notified immediately.
| |
| addListeners | back to summary |
|---|---|
| public ChannelGroupFuture addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) Implements io. Doc from io. Adds the specified listeners to this future. The specified listeners are notified when this future is done. If this future is already completed, the specified listeners are notified immediately.
| |
| await | back to summary |
|---|---|
| public ChannelGroupFuture await() Implements io. Doc from io. Waits for this future to be completed.
| |
| await | back to summary |
|---|---|
| public boolean await(long timeout, TimeUnit unit) Implements io. Doc from io. Waits for this future to be completed within the specified time limit.
| |
| await | back to summary |
|---|---|
| public boolean await(long timeoutMillis) Implements io. Doc from io. Waits for this future to be completed within the specified time limit.
| |
| awaitUninterruptibly | back to summary |
|---|---|
| public ChannelGroupFuture awaitUninterruptibly() Implements io. Doc from io. Waits for this future to be completed without
interruption. This method catches an
| |
| awaitUninterruptibly | back to summary |
|---|---|
| public boolean awaitUninterruptibly(long timeout, TimeUnit unit) Implements io. Doc from io. Waits for this future to be completed within the
specified time limit without interruption. This method catches an
| |
| awaitUninterruptibly | back to summary |
|---|---|
| public boolean awaitUninterruptibly(long timeoutMillis) Implements io. Doc from io. Waits for this future to be completed within the
specified time limit without interruption. This method catches an
| |
| cancel | back to summary |
|---|---|
| public boolean cancel(boolean mayInterruptIfRunning) Implements io. Doc from io. Attempts to cancel execution of this task. This method has no
effect if the task is already completed or cancelled, or could
not be cancelled for some other reason. Otherwise, if this
task has not started when The return value from this method does not necessarily
indicate whether the task is now cancelled; use
| |
| cause | back to summary |
|---|---|
| public ChannelGroupException cause() Implements io. Doc from io. Returns the cause of the failed I/O operation if the I/O operation has failed.
| |
| find | back to summary |
|---|---|
| public ChannelFuture find(Channel channel) Implements io. Doc from io. Returns the
| |
| get | back to summary |
|---|---|
| public Void get() Implements java. Doc from java. Waits if necessary for the computation to complete, and then retrieves its result. | |
| get | back to summary |
|---|---|
| public Void get(long timeout, TimeUnit unit) Implements java. Doc from java. Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available. | |
| getNow | back to summary |
|---|---|
| public Void getNow() Implements io. Doc from io. Return the result without blocking. If the future is not done yet this will return
| |
| group | back to summary |
|---|---|
| public ChannelGroup group() Implements io. Doc from io. Returns the
| |
| isCancellable | back to summary |
|---|---|
| public boolean isCancellable() Implements io. Doc from io. returns
| |
| isCancelled | back to summary |
|---|---|
| public boolean isCancelled() Implements java. Doc from java. Returns
| |
| isDone | back to summary |
|---|---|
| public boolean isDone() Implements java. Doc from java. Returns
| |
| isPartialFailure | back to summary |
|---|---|
| public boolean isPartialFailure() Implements io. Doc from io. Returns
| |
| isPartialSuccess | back to summary |
|---|---|
| public boolean isPartialSuccess() Implements io. Doc from io. Returns
| |
| isSuccess | back to summary |
|---|---|
| public boolean isSuccess() Implements io. Doc from io. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements io. Doc from io. Returns the
| |
| reject | back to summary |
|---|---|
| private static RuntimeException reject() | |
| removeListener | back to summary |
|---|---|
| public ChannelGroupFuture removeListener(GenericFutureListener<? extends Future<? super Void>> listener) Implements io. Doc from io. Removes the first occurrence of the specified listener from this future. The specified listener is no longer notified when this future is done. If the specified listener is not associated with this future, this method does nothing and returns silently.
| |
| removeListeners | back to summary |
|---|---|
| public ChannelGroupFuture removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) Implements io. Doc from io. Removes the first occurrence for each of the listeners from this future. The specified listeners are no longer notified when this future is done. If the specified listeners are not associated with this future, this method does nothing and returns silently.
| |
| sync | back to summary |
|---|---|
| public ChannelGroupFuture sync() Implements io. Doc from io. Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
| |
| syncUninterruptibly | back to summary |
|---|---|
| public ChannelGroupFuture syncUninterruptibly() Implements io. Doc from io. Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
| |