testReleaseHealthCheck() — netty Function Reference
Architecture documentation for the testReleaseHealthCheck() function in SimpleChannelPoolTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3b8c27bb_da91_a998_f22d_967f94baad1a["testReleaseHealthCheck()"] dfb428cc_ecc3_d271_5689_7e428381a986["SimpleChannelPoolTest"] 3b8c27bb_da91_a998_f22d_967f94baad1a -->|defined in| dfb428cc_ecc3_d271_5689_7e428381a986 style 3b8c27bb_da91_a998_f22d_967f94baad1a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/pool/SimpleChannelPoolTest.java lines 287–312
@Test
public void testReleaseHealthCheck() {
final SimpleChannelPool healthCheckOnReleasePool = new SimpleChannelPool(
new Bootstrap(),
new CountingChannelPoolHandler(),
ChannelHealthChecker.ACTIVE,
true);
try {
assertTrue(healthCheckOnReleasePool.releaseHealthCheck());
} finally {
healthCheckOnReleasePool.close();
}
final SimpleChannelPool noHealthCheckOnReleasePool = new SimpleChannelPool(
new Bootstrap(),
new CountingChannelPoolHandler(),
ChannelHealthChecker.ACTIVE,
false);
try {
assertFalse(noHealthCheckOnReleasePool.releaseHealthCheck());
} finally {
noHealthCheckOnReleasePool.close();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testReleaseHealthCheck() do?
testReleaseHealthCheck() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/pool/SimpleChannelPoolTest.java.
Where is testReleaseHealthCheck() defined?
testReleaseHealthCheck() is defined in transport/src/test/java/io/netty/channel/pool/SimpleChannelPoolTest.java at line 287.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free