Home / Function/ shouldLogChannelInactive() — netty Function Reference

shouldLogChannelInactive() — netty Function Reference

Architecture documentation for the shouldLogChannelInactive() function in LoggingHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  927778c7_fb7b_9fe1_4b27_d547c54a1afa["shouldLogChannelInactive()"]
  12b00413_e6e3_10b5_14c7_7f5ebb4a81a6["LoggingHandlerTest"]
  927778c7_fb7b_9fe1_4b27_d547c54a1afa -->|defined in| 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6
  fed55159_8c51_7e31_be70_d41e8f1e239b["RegexLogMatcher()"]
  927778c7_fb7b_9fe1_4b27_d547c54a1afa -->|calls| fed55159_8c51_7e31_be70_d41e8f1e239b
  style 927778c7_fb7b_9fe1_4b27_d547c54a1afa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 170–175

    @Test
    public void shouldLogChannelInactive() throws Exception {
        EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler(LogLevel.WARN));
        channel.pipeline().fireChannelInactive();
        verify(appender).doAppend(argThat(new RegexLogMatcher(".+INACTIVE$")));
    }

Domain

Subdomains

Frequently Asked Questions

What does shouldLogChannelInactive() do?
shouldLogChannelInactive() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java.
Where is shouldLogChannelInactive() defined?
shouldLogChannelInactive() is defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java at line 170.
What does shouldLogChannelInactive() call?
shouldLogChannelInactive() calls 1 function(s): RegexLogMatcher.

Analyze Your Own Codebase

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

Try Supermodel Free