testCheckAvailability() — netty Function Reference
Architecture documentation for the testCheckAvailability() function in LoadClassTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 61bc8c2e_6335_5bca_43db_99628f3f2f97["testCheckAvailability()"] a56b9a5e_9469_573f_67b2_66d5de1887ee["LoadClassTest"] 61bc8c2e_6335_5bca_43db_99628f3f2f97 -->|defined in| a56b9a5e_9469_573f_67b2_66d5de1887ee style 61bc8c2e_6335_5bca_43db_99628f3f2f97 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/test/java/io/netty/channel/uring/LoadClassTest.java lines 57–68
@Test
public void testCheckAvailability() {
// Calling ensureAvailability should work on any JDK version
assertThrows(UnsatisfiedLinkError.class, new Executable() {
@Override
public void execute() throws Throwable {
IoUring.ensureAvailability();
}
});
assertFalse(IoUring.isAvailable());
assertNotNull(IoUring.unavailabilityCause());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCheckAvailability() do?
testCheckAvailability() is a function in the netty codebase, defined in transport-classes-io_uring/src/test/java/io/netty/channel/uring/LoadClassTest.java.
Where is testCheckAvailability() defined?
testCheckAvailability() is defined in transport-classes-io_uring/src/test/java/io/netty/channel/uring/LoadClassTest.java at line 57.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free