canBlock() — netty Function Reference
Architecture documentation for the canBlock() function in ManualIoEventLoop.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf["canBlock()"] 495e052d_514b_eec5_cd6e_30fd871a39f6["BlockingIoHandlerContext"] 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf -->|defined in| 495e052d_514b_eec5_cd6e_30fd871a39f6 7e2b1134_222c_eb36_b419_c3e9fb7b0ff6["canBlock()"] 7e2b1134_222c_eb36_b419_c3e9fb7b0ff6 -->|calls| 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf 7e2b1134_222c_eb36_b419_c3e9fb7b0ff6["canBlock()"] 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf -->|calls| 7e2b1134_222c_eb36_b419_c3e9fb7b0ff6 cb229a6f_1187_05e7_0073_c0b824cf6ff7["inEventLoop()"] 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf -->|calls| cb229a6f_1187_05e7_0073_c0b824cf6ff7 bb9defe8_1008_f2eb_85b9_2a8e76c8fec0["hasTasks()"] 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf -->|calls| bb9defe8_1008_f2eb_85b9_2a8e76c8fec0 style 695bcc65_4fd4_b6ea_9dd3_441ad1bac7cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/ManualIoEventLoop.java lines 653–657
@Override
public boolean canBlock() {
assert inEventLoop();
return !hasTasks() && !hasScheduledTasks() && ManualIoEventLoop.this.canBlock();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does canBlock() do?
canBlock() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/ManualIoEventLoop.java.
Where is canBlock() defined?
canBlock() is defined in transport/src/main/java/io/netty/channel/ManualIoEventLoop.java at line 653.
What does canBlock() call?
canBlock() calls 3 function(s): canBlock, hasTasks, inEventLoop.
What calls canBlock()?
canBlock() is called by 1 function(s): canBlock.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free