getInitialSeedUniquifierPreservesInterrupt() — netty Function Reference
Architecture documentation for the getInitialSeedUniquifierPreservesInterrupt() function in ThreadLocalRandomTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8aef90c4_7b30_2c46_d1a5_c458c548d0fc["getInitialSeedUniquifierPreservesInterrupt()"] 35081120_1189_14a0_40a4_11449a328376["ThreadLocalRandomTest"] 8aef90c4_7b30_2c46_d1a5_c458c548d0fc -->|defined in| 35081120_1189_14a0_40a4_11449a328376 style 8aef90c4_7b30_2c46_d1a5_c458c548d0fc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/ThreadLocalRandomTest.java lines 24–36
@Test
public void getInitialSeedUniquifierPreservesInterrupt() {
try {
Thread.currentThread().interrupt();
assertTrue(Thread.currentThread().isInterrupted(),
"Assert that thread is interrupted before invocation of getInitialSeedUniquifier()");
ThreadLocalRandom.getInitialSeedUniquifier();
assertTrue(Thread.currentThread().isInterrupted(),
"Assert that thread is interrupted after invocation of getInitialSeedUniquifier()");
} finally {
Thread.interrupted(); // clear interrupted status in order to not affect other tests
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getInitialSeedUniquifierPreservesInterrupt() do?
getInitialSeedUniquifierPreservesInterrupt() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/ThreadLocalRandomTest.java.
Where is getInitialSeedUniquifierPreservesInterrupt() defined?
getInitialSeedUniquifierPreservesInterrupt() is defined in common/src/test/java/io/netty/util/internal/ThreadLocalRandomTest.java at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free