Home / Function/ DefaultChannelGroupFuture() — netty Function Reference

DefaultChannelGroupFuture() — netty Function Reference

Architecture documentation for the DefaultChannelGroupFuture() function in DefaultChannelGroupFuture.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  84eab3e5_2b16_2640_2ea8_a7f12f058875["DefaultChannelGroupFuture()"]
  1a024fce_f7a6_4bf6_3215_f4b94d0025ce["DefaultChannelGroupFuture"]
  84eab3e5_2b16_2640_2ea8_a7f12f058875 -->|defined in| 1a024fce_f7a6_4bf6_3215_f4b94d0025ce
  2dd45fe8_bfd0_a814_cc75_3701ecf322cd["setSuccess0()"]
  84eab3e5_2b16_2640_2ea8_a7f12f058875 -->|calls| 2dd45fe8_bfd0_a814_cc75_3701ecf322cd
  style 84eab3e5_2b16_2640_2ea8_a7f12f058875 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/group/DefaultChannelGroupFuture.java lines 84–104

    DefaultChannelGroupFuture(ChannelGroup group, Collection<ChannelFuture> futures,  EventExecutor executor) {
        super(executor);
        this.group = ObjectUtil.checkNotNull(group, "group");
        ObjectUtil.checkNotNull(futures, "futures");

        Map<Channel, ChannelFuture> futureMap = new LinkedHashMap<Channel, ChannelFuture>();
        for (ChannelFuture f: futures) {
            futureMap.put(f.channel(), f);
        }

        this.futures = Collections.unmodifiableMap(futureMap);

        for (ChannelFuture f: this.futures.values()) {
            f.addListener(childListener);
        }

        // Done on arrival?
        if (this.futures.isEmpty()) {
            setSuccess0();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does DefaultChannelGroupFuture() do?
DefaultChannelGroupFuture() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/group/DefaultChannelGroupFuture.java.
Where is DefaultChannelGroupFuture() defined?
DefaultChannelGroupFuture() is defined in transport/src/main/java/io/netty/channel/group/DefaultChannelGroupFuture.java at line 84.
What does DefaultChannelGroupFuture() call?
DefaultChannelGroupFuture() calls 1 function(s): setSuccess0.

Analyze Your Own Codebase

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

Try Supermodel Free