Class DelegatingEventLoopGroup
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.DelegatingEventLoopGroup
- All Implemented Interfaces:
io.netty.channel.EventLoopGroup,io.netty.util.concurrent.EventExecutorGroup,Iterable<io.netty.util.concurrent.EventExecutor>,Executor,ExecutorService,ScheduledExecutorService
- Direct Known Subclasses:
NonManagedEventLoopGroup
@SdkInternalApi
public abstract class DelegatingEventLoopGroup
extends Object
implements io.netty.channel.EventLoopGroup
EventLoopGroup that just delegates to another EventLoopGroup. Useful for extending or building decorators.-
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long timeout, TimeUnit unit) voidio.netty.channel.EventLoopGroupinvokeAll(Collection<? extends Callable<T>> tasks) invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) <T> TinvokeAny(Collection<? extends Callable<T>> tasks) <T> TinvokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) booleanbooleanbooleanIterator<io.netty.util.concurrent.EventExecutor> iterator()io.netty.channel.EventLoopnext()io.netty.channel.ChannelFutureregister(io.netty.channel.Channel channel) io.netty.channel.ChannelFutureregister(io.netty.channel.ChannelPromise promise) io.netty.channel.ChannelFutureregister(io.netty.channel.Channel channel, io.netty.channel.ChannelPromise promise) io.netty.util.concurrent.ScheduledFuture<?> <V> io.netty.util.concurrent.ScheduledFuture<V> io.netty.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) io.netty.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) voidshutdown()io.netty.util.concurrent.Future<?> io.netty.util.concurrent.Future<?> shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit) io.netty.util.concurrent.Future<?> <T> io.netty.util.concurrent.Future<T> <T> io.netty.util.concurrent.Future<T> io.netty.util.concurrent.Future<?> Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getDelegate
public io.netty.channel.EventLoopGroup getDelegate()- Returns:
- The
EventLoopGroupbeing delegated to.
-
isShuttingDown
public boolean isShuttingDown()- Specified by:
isShuttingDownin interfaceio.netty.util.concurrent.EventExecutorGroup
-
shutdownGracefully
public io.netty.util.concurrent.Future<?> shutdownGracefully()- Specified by:
shutdownGracefullyin interfaceio.netty.util.concurrent.EventExecutorGroup
-
shutdownGracefully
public io.netty.util.concurrent.Future<?> shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit) - Specified by:
shutdownGracefullyin interfaceio.netty.util.concurrent.EventExecutorGroup
-
terminationFuture
public io.netty.util.concurrent.Future<?> terminationFuture()- Specified by:
terminationFuturein interfaceio.netty.util.concurrent.EventExecutorGroup
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
shutdownin interfaceExecutorService
-
shutdownNow
- Specified by:
shutdownNowin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
shutdownNowin interfaceExecutorService
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdownin interfaceExecutorService
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceExecutorService
-
awaitTermination
- Specified by:
awaitTerminationin interfaceExecutorService- Throws:
InterruptedException
-
next
public io.netty.channel.EventLoop next()- Specified by:
nextin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
nextin interfaceio.netty.channel.EventLoopGroup
-
iterator
-
submit
- Specified by:
submitin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
submitin interfaceExecutorService
-
invokeAll
public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException - Specified by:
invokeAllin interfaceExecutorService- Throws:
InterruptedException
-
invokeAll
public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException - Specified by:
invokeAllin interfaceExecutorService- Throws:
InterruptedException
-
invokeAny
public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException - Specified by:
invokeAnyin interfaceExecutorService- Throws:
InterruptedExceptionExecutionException
-
invokeAny
public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
invokeAnyin interfaceExecutorService- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
submit
- Specified by:
submitin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
submitin interfaceExecutorService
-
submit
- Specified by:
submitin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
submitin interfaceExecutorService
-
schedule
public io.netty.util.concurrent.ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) - Specified by:
schedulein interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
schedulein interfaceScheduledExecutorService
-
schedule
public <V> io.netty.util.concurrent.ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) - Specified by:
schedulein interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
schedulein interfaceScheduledExecutorService
-
scheduleAtFixedRate
public io.netty.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) - Specified by:
scheduleAtFixedRatein interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
scheduleAtFixedRatein interfaceScheduledExecutorService
-
scheduleWithFixedDelay
public io.netty.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) - Specified by:
scheduleWithFixedDelayin interfaceio.netty.util.concurrent.EventExecutorGroup- Specified by:
scheduleWithFixedDelayin interfaceScheduledExecutorService
-
register
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel) - Specified by:
registerin interfaceio.netty.channel.EventLoopGroup
-
register
public io.netty.channel.ChannelFuture register(io.netty.channel.ChannelPromise promise) - Specified by:
registerin interfaceio.netty.channel.EventLoopGroup
-
register
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel, io.netty.channel.ChannelPromise promise) - Specified by:
registerin interfaceio.netty.channel.EventLoopGroup
-
execute
-