Home / Class/ SingleThreadEventLoopC Class — netty Architecture

SingleThreadEventLoopC Class — netty Architecture

Architecture documentation for the SingleThreadEventLoopC class in SingleThreadEventLoopTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a749b1a6_b99b_b759_131e_34168e868694["SingleThreadEventLoopC"]
  220c0306_7851_92da_39e2_f00ceff58693["SingleThreadEventLoopTest.java"]
  a749b1a6_b99b_b759_131e_34168e868694 -->|defined in| 220c0306_7851_92da_39e2_f00ceff58693
  e4da4b37_1c18_80dd_7daa_f46304725e54["afterRunningAllTasks()"]
  a749b1a6_b99b_b759_131e_34168e868694 -->|method| e4da4b37_1c18_80dd_7daa_f46304725e54
  9a3cb8ac_23c8_0df4_12c8_2c42a521121a["runTasks0()"]
  a749b1a6_b99b_b759_131e_34168e868694 -->|method| 9a3cb8ac_23c8_0df4_12c8_2c42a521121a

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/SingleThreadEventLoopTest.java lines 578–592

    private static final class SingleThreadEventLoopC extends SingleThreadEventLoopB {

        final LinkedBlockingQueue<Boolean> iterationEndSignal = new LinkedBlockingQueue<Boolean>(1);

        @Override
        protected void afterRunningAllTasks() {
            super.afterRunningAllTasks();
            iterationEndSignal.offer(true);
        }

        @Override
        protected void runTasks0() {
            runAllTasks(TimeUnit.MINUTES.toNanos(1));
        }
    }

Frequently Asked Questions

What is the SingleThreadEventLoopC class?
SingleThreadEventLoopC is a class in the netty codebase, defined in transport/src/test/java/io/netty/channel/SingleThreadEventLoopTest.java.
Where is SingleThreadEventLoopC defined?
SingleThreadEventLoopC is defined in transport/src/test/java/io/netty/channel/SingleThreadEventLoopTest.java at line 578.

Analyze Your Own Codebase

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

Try Supermodel Free