Home / Type/ IoEventLoopGroup Type — netty Architecture

IoEventLoopGroup Type — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  80c929c1_5e96_8fa1_6716_a8f6e1842882["IoEventLoopGroup"]
  2aa07b83_367f_92d7_a8b6_fd68275e14c5["IoEventLoopGroup.java"]
  80c929c1_5e96_8fa1_6716_a8f6e1842882 -->|defined in| 2aa07b83_367f_92d7_a8b6_fd68275e14c5
  style 80c929c1_5e96_8fa1_6716_a8f6e1842882 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/IoEventLoopGroup.java lines 23–77

public interface IoEventLoopGroup extends EventLoopGroup {

    @Override
    IoEventLoop next();

    /**
     * @deprecated Use {@link #register(IoHandle)}
     */
    @Deprecated
    @Override
    default ChannelFuture register(Channel channel) {
        return next().register(channel);
    }

    /**
     * @deprecated Use {@link #register(IoHandle)}
     */
    @Deprecated
    @Override
   default ChannelFuture register(ChannelPromise promise) {
        return next().register(promise);
    }

    /**
     * Register the {@link IoHandle} to the {@link EventLoop} for I/O processing.
     *
     * @param handle        the {@link IoHandle} to register.
     * @return              the {@link Future} that is notified once the operations completes.
     */
    default Future<IoRegistration> register(IoHandle handle) {
        return next().register(handle);
    }

    /**
     * Returns {@code true} if the given type is compatible with this {@link IoEventLoopGroup} and so can be registered
     * to the contained {@link IoEventLoop}s, {@code false} otherwise.
     *
     * @param handleType    the type of the {@link IoHandle}.
     * @return              if compatible of not.
     */
    default boolean isCompatible(Class<? extends IoHandle> handleType) {
        return next().isCompatible(handleType);
    }

    /**
     * Returns {@code true} if the given {@link IoHandler} type is used by this {@link IoEventLoopGroup},
     * {@code false} otherwise.
     *
     * @param handlerType the type of the {@link IoHandler}.
     * @return            if used or not.
     */
    default boolean isIoType(Class<? extends IoHandler> handlerType) {
        return next().isIoType(handlerType);
    }
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free