shouldLogChannelWritabilityChanged() — netty Function Reference
Architecture documentation for the shouldLogChannelWritabilityChanged() function in LoggingHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 46e7bfb6_2d4b_82cc_a3d0_fa67819a9159["shouldLogChannelWritabilityChanged()"] 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6["LoggingHandlerTest"] 46e7bfb6_2d4b_82cc_a3d0_fa67819a9159 -->|defined in| 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6 fed55159_8c51_7e31_be70_d41e8f1e239b["RegexLogMatcher()"] 46e7bfb6_2d4b_82cc_a3d0_fa67819a9159 -->|calls| fed55159_8c51_7e31_be70_d41e8f1e239b style 46e7bfb6_2d4b_82cc_a3d0_fa67819a9159 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 123–132
@Test
public void shouldLogChannelWritabilityChanged() throws Exception {
EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler(LogLevel.WARN));
// this is used to switch the channel to become unwritable
channel.config().setWriteBufferLowWaterMark(5);
channel.config().setWriteBufferHighWaterMark(10);
channel.write("hello", channel.newPromise());
verify(appender).doAppend(argThat(new RegexLogMatcher(".+WRITABILITY CHANGED$")));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does shouldLogChannelWritabilityChanged() do?
shouldLogChannelWritabilityChanged() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java.
Where is shouldLogChannelWritabilityChanged() defined?
shouldLogChannelWritabilityChanged() is defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java at line 123.
What does shouldLogChannelWritabilityChanged() call?
shouldLogChannelWritabilityChanged() 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