public abstract class AbstractEventExecutorGroup extends Object implements EventExecutorGroup
EventExecutorGroup implementations.| Constructor and Description | 
|---|
AbstractEventExecutorGroup()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
execute(Runnable command)  | 
<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)  | 
<V> ScheduledFuture<V> | 
schedule(Callable<V> callable,
        long delay,
        TimeUnit unit)  | 
ScheduledFuture<?> | 
schedule(Runnable command,
        long delay,
        TimeUnit unit)  | 
ScheduledFuture<?> | 
scheduleAtFixedRate(Runnable command,
                   long initialDelay,
                   long period,
                   TimeUnit unit)  | 
ScheduledFuture<?> | 
scheduleWithFixedDelay(Runnable command,
                      long initialDelay,
                      long delay,
                      TimeUnit unit)  | 
abstract void | 
shutdown()
Deprecated. 
 
 | 
Future<?> | 
shutdownGracefully()
Shortcut method for  
EventExecutorGroup.shutdownGracefully(long, long, TimeUnit) with sensible default values. | 
List<Runnable> | 
shutdownNow()
Deprecated. 
 
 | 
<T> Future<T> | 
submit(Callable<T> task)  | 
Future<?> | 
submit(Runnable task)  | 
<T> Future<T> | 
submit(Runnable task,
      T result)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisShuttingDown, iterator, next, shutdownGracefully, terminationFutureawaitTermination, isShutdown, isTerminatedforEach, spliteratorpublic Future<?> submit(Runnable task)
submit in interface EventExecutorGroupsubmit in interface ExecutorServicepublic <T> Future<T> submit(Runnable task, T result)
submit in interface EventExecutorGroupsubmit in interface ExecutorServicepublic <T> Future<T> submit(Callable<T> task)
submit in interface EventExecutorGroupsubmit in interface ExecutorServicepublic ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface EventExecutorGroupschedule in interface ScheduledExecutorServicepublic <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
schedule in interface EventExecutorGroupschedule in interface ScheduledExecutorServicepublic ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface EventExecutorGroupscheduleAtFixedRate in interface ScheduledExecutorServicepublic ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
scheduleWithFixedDelay in interface EventExecutorGroupscheduleWithFixedDelay in interface ScheduledExecutorServicepublic Future<?> shutdownGracefully()
EventExecutorGroupEventExecutorGroup.shutdownGracefully(long, long, TimeUnit) with sensible default values.shutdownGracefully in interface EventExecutorGroupEventExecutorGroup.terminationFuture()@Deprecated public abstract void shutdown()
EventExecutorGroup.shutdownGracefully(long, long, TimeUnit) or shutdownGracefully() instead.shutdown in interface EventExecutorGroupshutdown in interface ExecutorService@Deprecated public List<Runnable> shutdownNow()
EventExecutorGroup.shutdownGracefully(long, long, TimeUnit) or shutdownGracefully() instead.shutdownNow in interface EventExecutorGroupshutdownNow in interface ExecutorServicepublic <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 ExecutorServiceInterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.