public class DelegatingEventLoopGroup extends Object implements io.netty.channel.EventLoopGroup
| Constructor and Description |
|---|
DelegatingEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
void |
execute(Runnable command) |
void |
forEach(Consumer<? super io.netty.util.concurrent.EventExecutor> action) |
<T> List<Future<T>> |
invokeAll(Collection<? extends Callable<T>> tasks) |
<T> List<Future<T>> |
invokeAll(Collection<? extends Callable<T>> tasks,
long timeout,
TimeUnit unit) |
<T> T |
invokeAny(Collection<? extends Callable<T>> tasks) |
<T> T |
invokeAny(Collection<? extends Callable<T>> tasks,
long timeout,
TimeUnit unit) |
boolean |
isShutdown() |
boolean |
isShuttingDown() |
boolean |
isTerminated() |
Iterator<io.netty.util.concurrent.EventExecutor> |
iterator() |
io.netty.channel.EventLoop |
next() |
io.netty.channel.ChannelFuture |
register(io.netty.channel.Channel channel) |
io.netty.channel.ChannelFuture |
register(io.netty.channel.Channel channel,
io.netty.channel.ChannelPromise channelPromise)
Deprecated.
|
io.netty.channel.ChannelFuture |
register(io.netty.channel.ChannelPromise channelPromise) |
<V> io.netty.util.concurrent.ScheduledFuture<V> |
schedule(Callable<V> callable,
long l,
TimeUnit timeUnit) |
io.netty.util.concurrent.ScheduledFuture<?> |
schedule(Runnable runnable,
long l,
TimeUnit timeUnit) |
io.netty.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(Runnable runnable,
long l,
long l1,
TimeUnit timeUnit) |
io.netty.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable runnable,
long l,
long l1,
TimeUnit timeUnit) |
void |
shutdown()
Deprecated.
|
io.netty.util.concurrent.Future<?> |
shutdownGracefully() |
io.netty.util.concurrent.Future<?> |
shutdownGracefully(long l,
long l1,
TimeUnit timeUnit) |
List<Runnable> |
shutdownNow()
Deprecated.
|
Spliterator<io.netty.util.concurrent.EventExecutor> |
spliterator() |
<T> io.netty.util.concurrent.Future<T> |
submit(Callable<T> callable) |
io.netty.util.concurrent.Future<?> |
submit(Runnable runnable) |
<T> io.netty.util.concurrent.Future<T> |
submit(Runnable runnable,
T t) |
io.netty.util.concurrent.Future<?> |
terminationFuture() |
public DelegatingEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
public io.netty.channel.EventLoop next()
next in interface io.netty.channel.EventLoopGroupnext in interface io.netty.util.concurrent.EventExecutorGrouppublic io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel)
register in interface io.netty.channel.EventLoopGrouppublic io.netty.channel.ChannelFuture register(io.netty.channel.ChannelPromise channelPromise)
register in interface io.netty.channel.EventLoopGroup@Deprecated public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel, io.netty.channel.ChannelPromise channelPromise)
register in interface io.netty.channel.EventLoopGrouppublic boolean isShuttingDown()
isShuttingDown in interface io.netty.util.concurrent.EventExecutorGrouppublic io.netty.util.concurrent.Future<?> shutdownGracefully()
shutdownGracefully in interface io.netty.util.concurrent.EventExecutorGrouppublic io.netty.util.concurrent.Future<?> shutdownGracefully(long l,
long l1,
TimeUnit timeUnit)
shutdownGracefully in interface io.netty.util.concurrent.EventExecutorGrouppublic io.netty.util.concurrent.Future<?> terminationFuture()
terminationFuture in interface io.netty.util.concurrent.EventExecutorGroup@Deprecated public void shutdown()
shutdown in interface io.netty.util.concurrent.EventExecutorGroupshutdown in interface ExecutorService@Deprecated public List<Runnable> shutdownNow()
shutdownNow in interface io.netty.util.concurrent.EventExecutorGroupshutdownNow in interface ExecutorServicepublic Iterator<io.netty.util.concurrent.EventExecutor> iterator()
public io.netty.util.concurrent.Future<?> submit(Runnable runnable)
submit in interface io.netty.util.concurrent.EventExecutorGroupsubmit in interface ExecutorServicepublic <T> io.netty.util.concurrent.Future<T> submit(Runnable runnable, T t)
submit in interface io.netty.util.concurrent.EventExecutorGroupsubmit in interface ExecutorServicepublic <T> io.netty.util.concurrent.Future<T> submit(Callable<T> callable)
submit in interface io.netty.util.concurrent.EventExecutorGroupsubmit in interface ExecutorServicepublic io.netty.util.concurrent.ScheduledFuture<?> schedule(Runnable runnable, long l, TimeUnit timeUnit)
schedule in interface io.netty.util.concurrent.EventExecutorGroupschedule in interface ScheduledExecutorServicepublic <V> io.netty.util.concurrent.ScheduledFuture<V> schedule(Callable<V> callable, long l, TimeUnit timeUnit)
schedule in interface io.netty.util.concurrent.EventExecutorGroupschedule in interface ScheduledExecutorServicepublic io.netty.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long l, long l1, TimeUnit timeUnit)
scheduleAtFixedRate in interface io.netty.util.concurrent.EventExecutorGroupscheduleAtFixedRate in interface ScheduledExecutorServicepublic io.netty.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(Runnable runnable, long l, long l1, TimeUnit timeUnit)
scheduleWithFixedDelay in interface io.netty.util.concurrent.EventExecutorGroupscheduleWithFixedDelay in interface ScheduledExecutorServicepublic boolean isShutdown()
isShutdown in interface ExecutorServicepublic boolean isTerminated()
isTerminated in interface ExecutorServicepublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface ExecutorServiceInterruptedExceptionpublic <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException
invokeAll in interface ExecutorServiceInterruptedExceptionpublic <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException
invokeAll in interface ExecutorServiceInterruptedExceptionpublic <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException
invokeAny in interface ExecutorServiceInterruptedExceptionExecutionExceptionpublic <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
invokeAny in interface ExecutorServiceInterruptedExceptionExecutionExceptionTimeoutExceptionpublic void forEach(Consumer<? super io.netty.util.concurrent.EventExecutor> action)
public Spliterator<io.netty.util.concurrent.EventExecutor> spliterator()
spliterator in interface Iterable<io.netty.util.concurrent.EventExecutor>Copyright © 2019 JBoss by Red Hat. All rights reserved.