throwIfInEventLoop() — netty Function Reference
Architecture documentation for the throwIfInEventLoop() function in SingleThreadEventExecutor.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4cb1cf69_5159_c7e5_44d1_0d1c9e477fe3["throwIfInEventLoop()"] c9189467_acbc_07ea_3a8c_fecfe22ec122["SingleThreadEventExecutor"] 4cb1cf69_5159_c7e5_44d1_0d1c9e477fe3 -->|defined in| c9189467_acbc_07ea_3a8c_fecfe22ec122 dee3be78_63dc_ee69_eb5c_74453c0a07f0["T()"] dee3be78_63dc_ee69_eb5c_74453c0a07f0 -->|calls| 4cb1cf69_5159_c7e5_44d1_0d1c9e477fe3 0bf03654_0079_9746_4323_dd31e021fd69["invokeAll()"] 0bf03654_0079_9746_4323_dd31e021fd69 -->|calls| 4cb1cf69_5159_c7e5_44d1_0d1c9e477fe3 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a["inEventLoop()"] 4cb1cf69_5159_c7e5_44d1_0d1c9e477fe3 -->|calls| 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a style 4cb1cf69_5159_c7e5_44d1_0d1c9e477fe3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java lines 1079–1083
private void throwIfInEventLoop(String method) {
if (inEventLoop()) {
throw new RejectedExecutionException("Calling " + method + " from within the EventLoop is not allowed");
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does throwIfInEventLoop() do?
throwIfInEventLoop() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java.
Where is throwIfInEventLoop() defined?
throwIfInEventLoop() is defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java at line 1079.
What does throwIfInEventLoop() call?
throwIfInEventLoop() calls 1 function(s): inEventLoop.
What calls throwIfInEventLoop()?
throwIfInEventLoop() is called by 2 function(s): T, invokeAll.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free