Class NonManagedEventLoopGroup

java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.DelegatingEventLoopGroup
software.amazon.awssdk.http.nio.netty.internal.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 Details

    • NonManagedEventLoopGroup

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

    • 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