Home / Class/ AbstractEventExecutorGroup Class — netty Architecture

AbstractEventExecutorGroup Class — netty Architecture

Architecture documentation for the AbstractEventExecutorGroup class in AbstractEventExecutorGroup.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e504aa70_9cf9_f684_94f4_f8bcf87280cd["AbstractEventExecutorGroup"]
  1a29992f_aa3f_a828_1260_03ae3d968f70["AbstractEventExecutorGroup.java"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|defined in| 1a29992f_aa3f_a828_1260_03ae3d968f70
  75b56b4d_0dcd_bbd7_f464_f48733a9bcf6["submit()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 75b56b4d_0dcd_bbd7_f464_f48733a9bcf6
  76c5f3f2_0828_1090_3d87_62f2698826e3["schedule()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 76c5f3f2_0828_1090_3d87_62f2698826e3
  266a1387_b418_75f3_089a_60221f8780f9["scheduleAtFixedRate()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 266a1387_b418_75f3_089a_60221f8780f9
  949d05dd_f521_ddca_45cd_bfc42d4ce0b2["scheduleWithFixedDelay()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 949d05dd_f521_ddca_45cd_bfc42d4ce0b2
  060c4a28_bf24_1adf_4e33_9e3852db9a89["shutdownGracefully()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 060c4a28_bf24_1adf_4e33_9e3852db9a89
  b2d9dbfc_2aa9_a4b9_06de_d464f5419247["shutdown()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| b2d9dbfc_2aa9_a4b9_06de_d464f5419247
  b1729682_917c_ab24_025a_5bd20ae6d971["shutdownNow()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| b1729682_917c_ab24_025a_5bd20ae6d971
  af4cec6d_2b03_aca0_26b9_9e93b9df4a60["invokeAll()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| af4cec6d_2b03_aca0_26b9_9e93b9df4a60
  524c8ffd_42ea_7a07_7520_cf0780a99575["T()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 524c8ffd_42ea_7a07_7520_cf0780a99575
  1db45aba_6ded_6af5_e5d0_c6030f308a69["execute()"]
  e504aa70_9cf9_f684_94f4_f8bcf87280cd -->|method| 1db45aba_6ded_6af5_e5d0_c6030f308a69

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/AbstractEventExecutorGroup.java lines 32–117

public abstract class AbstractEventExecutorGroup implements EventExecutorGroup {
    @Override
    public Future<?> submit(Runnable task) {
        return next().submit(task);
    }

    @Override
    public <T> Future<T> submit(Runnable task, T result) {
        return next().submit(task, result);
    }

    @Override
    public <T> Future<T> submit(Callable<T> task) {
        return next().submit(task);
    }

    @Override
    public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        return next().schedule(command, delay, unit);
    }

    @Override
    public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) {
        return next().schedule(callable, delay, unit);
    }

    @Override
    public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) {
        return next().scheduleAtFixedRate(command, initialDelay, period, unit);
    }

    @Override
    public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) {
        return next().scheduleWithFixedDelay(command, initialDelay, delay, unit);
    }

    @Override
    public Future<?> shutdownGracefully() {
        return shutdownGracefully(DEFAULT_SHUTDOWN_QUIET_PERIOD, DEFAULT_SHUTDOWN_TIMEOUT, TimeUnit.SECONDS);
    }

    /**
     * @deprecated {@link #shutdownGracefully(long, long, TimeUnit)} or {@link #shutdownGracefully()} instead.
     */
    @Override
    @Deprecated
    public abstract void shutdown();

    /**
     * @deprecated {@link #shutdownGracefully(long, long, TimeUnit)} or {@link #shutdownGracefully()} instead.
     */
    @Override
    @Deprecated
    public List<Runnable> shutdownNow() {
        shutdown();
        return Collections.emptyList();
    }

    @Override
    public <T> List<java.util.concurrent.Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
            throws InterruptedException {
        return next().invokeAll(tasks);
    }

    @Override
    public <T> List<java.util.concurrent.Future<T>> invokeAll(
            Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
        return next().invokeAll(tasks, timeout, unit);
    }

    @Override
    public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException {
        return next().invokeAny(tasks);
    }

    @Override
    public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
            throws InterruptedException, ExecutionException, TimeoutException {
        return next().invokeAny(tasks, timeout, unit);
    }

Frequently Asked Questions

What is the AbstractEventExecutorGroup class?
AbstractEventExecutorGroup is a class in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/AbstractEventExecutorGroup.java.
Where is AbstractEventExecutorGroup defined?
AbstractEventExecutorGroup is defined in common/src/main/java/io/netty/util/concurrent/AbstractEventExecutorGroup.java at line 32.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free