testSetOwnerMultipleTimes() — netty Function Reference
Architecture documentation for the testSetOwnerMultipleTimes() function in ManualIoEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0d4889af_6105_9be6_98c7_8ca41addc03f["testSetOwnerMultipleTimes()"] 7f1091cc_a8b6_0293_92ad_d94222ae6482["ManualIoEventLoopTest"] 0d4889af_6105_9be6_98c7_8ca41addc03f -->|defined in| 7f1091cc_a8b6_0293_92ad_d94222ae6482 3bf16ebe_cf8d_923f_9559_397075f9b2a1["TestIoHandler()"] 0d4889af_6105_9be6_98c7_8ca41addc03f -->|calls| 3bf16ebe_cf8d_923f_9559_397075f9b2a1 style 0d4889af_6105_9be6_98c7_8ca41addc03f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/ManualIoEventLoopTest.java lines 329–337
@Test
public void testSetOwnerMultipleTimes() {
ManualIoEventLoop eventLoop = new ManualIoEventLoop(null, executor ->
new TestIoHandler(new Semaphore(0)));
eventLoop.setOwningThread(Thread.currentThread());
assertThrows(IllegalStateException.class, () -> eventLoop.setOwningThread(Thread.currentThread()));
eventLoop.shutdownGracefully();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testSetOwnerMultipleTimes() do?
testSetOwnerMultipleTimes() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/ManualIoEventLoopTest.java.
Where is testSetOwnerMultipleTimes() defined?
testSetOwnerMultipleTimes() is defined in transport/src/test/java/io/netty/channel/ManualIoEventLoopTest.java at line 329.
What does testSetOwnerMultipleTimes() call?
testSetOwnerMultipleTimes() calls 1 function(s): TestIoHandler.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free