Home / Function/ tearDown() — netty Function Reference

tearDown() — netty Function Reference

Architecture documentation for the tearDown() function in EpollSocketChannelBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6ada7fe6_a601_9cd0_cdd3_072f65b2edcf["tearDown()"]
  1b64bade_715a_bad2_74e3_ba8a9d114f53["EpollSocketChannelBenchmark"]
  6ada7fe6_a601_9cd0_cdd3_072f65b2edcf -->|defined in| 1b64bade_715a_bad2_74e3_ba8a9d114f53
  style 6ada7fe6_a601_9cd0_cdd3_072f65b2edcf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/channel/epoll/EpollSocketChannelBenchmark.java lines 134–141

    @TearDown
    public void tearDown() throws Exception {
        chan.close().sync();
        serverChan.close().sync();
        future.cancel(true);
        group.shutdownGracefully(0, 0, TimeUnit.SECONDS).sync();
        abyte.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does tearDown() do?
tearDown() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/channel/epoll/EpollSocketChannelBenchmark.java.
Where is tearDown() defined?
tearDown() is defined in microbench/src/main/java/io/netty/microbench/channel/epoll/EpollSocketChannelBenchmark.java at line 134.

Analyze Your Own Codebase

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

Try Supermodel Free