Home / Type/ ChannelGroupFuture Type — netty Architecture

ChannelGroupFuture Type — netty Architecture

Architecture documentation for the ChannelGroupFuture type/interface in ChannelGroupFuture.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  005c0408_2d9d_9ed4_62cd_8d26f8c896ec["ChannelGroupFuture"]
  4f93ba5d_5580_d176_ee2f_866d261c02cc["ChannelGroupFuture.java"]
  005c0408_2d9d_9ed4_62cd_8d26f8c896ec -->|defined in| 4f93ba5d_5580_d176_ee2f_866d261c02cc
  style 005c0408_2d9d_9ed4_62cd_8d26f8c896ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/group/ChannelGroupFuture.java lines 105–175

public interface ChannelGroupFuture extends Future<Void>, Iterable<ChannelFuture> {

    /**
     * Returns the {@link ChannelGroup} which is associated with this future.
     */
    ChannelGroup group();

    /**
     * Returns the {@link ChannelFuture} of the individual I/O operation which
     * is associated with the specified {@link Channel}.
     *
     * @return the matching {@link ChannelFuture} if found.
     *         {@code null} otherwise.
     */
    ChannelFuture find(Channel channel);

    /**
     * Returns {@code true} if and only if all I/O operations associated with
     * this future were successful without any failure.
     */
    @Override
    boolean isSuccess();

    @Override
    ChannelGroupException cause();

    /**
     * Returns {@code true} if and only if the I/O operations associated with
     * this future were partially successful with some failure.
     */
    boolean isPartialSuccess();

    /**
     * Returns {@code true} if and only if the I/O operations associated with
     * this future have failed partially with some success.
     */
    boolean isPartialFailure();

    @Override
    ChannelGroupFuture addListener(GenericFutureListener<? extends Future<? super Void>> listener);

    @Override
    ChannelGroupFuture addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners);

    @Override
    ChannelGroupFuture removeListener(GenericFutureListener<? extends Future<? super Void>> listener);

    @Override
    ChannelGroupFuture removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners);

    @Override
    ChannelGroupFuture await() throws InterruptedException;

    @Override
    ChannelGroupFuture awaitUninterruptibly();

    @Override
    ChannelGroupFuture syncUninterruptibly();

    @Override
    ChannelGroupFuture sync() throws InterruptedException;

    /**
     * Returns the {@link Iterator} that enumerates all {@link ChannelFuture}s
     * which are associated with this future.  Please note that the returned
     * {@link Iterator} is unmodifiable, which means a {@link ChannelFuture}
     * cannot be removed from this future.
     */
    @Override
    Iterator<ChannelFuture> iterator();
}

Frequently Asked Questions

What is the ChannelGroupFuture type?
ChannelGroupFuture is a type/interface in the netty codebase, defined in transport/src/main/java/io/netty/channel/group/ChannelGroupFuture.java.
Where is ChannelGroupFuture defined?
ChannelGroupFuture is defined in transport/src/main/java/io/netty/channel/group/ChannelGroupFuture.java at line 105.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free