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
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
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 interfaceio.netty.util.concurrent.EventExecutorGroup
- Overrides:
shutdownGracefully
in classDelegatingEventLoopGroup
-