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 aroundEventLoopGroup
that prevents it from being shutdown. Used when the customer passes in a customEventLoopGroup
that may be shared and thus is not managed by the SDK.
-
-
Constructor Summary
Constructors Constructor Description NonManagedEventLoopGroup(io.netty.channel.EventLoopGroup delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.util.concurrent.Future<?>
shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
-
Methods inherited from class software.amazon.awssdk.http.nio.netty.internal.DelegatingEventLoopGroup
awaitTermination, execute, getDelegate, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isShuttingDown, isTerminated, iterator, next, register, register, register, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
shutdownGracefully
public io.netty.util.concurrent.Future<?> shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
- Specified by:
shutdownGracefully
in interfaceio.netty.util.concurrent.EventExecutorGroup
- Overrides:
shutdownGracefully
in classDelegatingEventLoopGroup
-
-