Home / Class/ TestMultiThreadIoEventLoopGroup Class — netty Architecture

TestMultiThreadIoEventLoopGroup Class — netty Architecture

Architecture documentation for the TestMultiThreadIoEventLoopGroup class in MultiThreadIoEventLoopGroupTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  44bf6cb2_f368_8bfd_4717_17b198888cbe["TestMultiThreadIoEventLoopGroup"]
  e0d4d133_322e_1155_8441_23fad36b03b0["MultiThreadIoEventLoopGroupTest.java"]
  44bf6cb2_f368_8bfd_4717_17b198888cbe -->|defined in| e0d4d133_322e_1155_8441_23fad36b03b0
  aa8fb275_3a23_d235_0ce3_bc0498b4422d["TestMultiThreadIoEventLoopGroup()"]
  44bf6cb2_f368_8bfd_4717_17b198888cbe -->|method| aa8fb275_3a23_d235_0ce3_bc0498b4422d
  0a9372a3_d529_42c7_6692_742275da9a91["IoEventLoop()"]
  44bf6cb2_f368_8bfd_4717_17b198888cbe -->|method| 0a9372a3_d529_42c7_6692_742275da9a91

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java lines 129–142

    private static class TestMultiThreadIoEventLoopGroup extends MultiThreadIoEventLoopGroup {
        TestMultiThreadIoEventLoopGroup(int minThreads, int maxThreads, long checkPeriod, TimeUnit unit) {
            super(maxThreads, (Executor) null,
                  new AutoScalingEventExecutorChooserFactory(
                          minThreads, maxThreads, checkPeriod, unit, 0.4, 0.8,
                          maxThreads, 1, 1),
                  new TestIoHandlerFactory());
        }

        @Override
        protected IoEventLoop newChild(Executor executor, IoHandlerFactory ioHandlerFactory, Object... args) {
            return new TestableIoEventLoop(this, executor, ioHandlerFactory);
        }
    }

Frequently Asked Questions

What is the TestMultiThreadIoEventLoopGroup class?
TestMultiThreadIoEventLoopGroup is a class in the netty codebase, defined in transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java.
Where is TestMultiThreadIoEventLoopGroup defined?
TestMultiThreadIoEventLoopGroup is defined in transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java at line 129.

Analyze Your Own Codebase

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

Try Supermodel Free