Class NonManagedEventLoopGroup

  • All Implemented Interfaces:
    io.netty.channel.EventLoopGroup, io.netty.util.concurrent.EventExecutorGroup, Iterable<io.netty.util.concurrent.EventExecutor>, Executor, ExecutorService, ScheduledExecutorService

    public final class NonManagedEventLoopGroup
    extends DelegatingEventLoopGroup
    Decorator around EventLoopGroup that prevents it from being shutdown. Used when the customer passes in a custom EventLoopGroup that may be shared and thus is not managed by the SDK.
    • Constructor Detail

      • NonManagedEventLoopGroup

        public NonManagedEventLoopGroup​(io.netty.channel.EventLoopGroup delegate)
    • Method Detail

      • shutdownGracefully

        public io.netty.util.concurrent.Future<?> shutdownGracefully​(long quietPeriod,
                                                                     long timeout,
                                                                     TimeUnit unit)
        Specified by:
        shutdownGracefully in interface io.netty.util.concurrent.EventExecutorGroup
        Overrides:
        shutdownGracefully in class DelegatingEventLoopGroup