removeShutdownHook() — netty Function Reference
Architecture documentation for the removeShutdownHook() function in SingleThreadEventExecutor.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 945e9c28_ba78_c305_39d7_9e5bd340ca00["removeShutdownHook()"] c9189467_acbc_07ea_3a8c_fecfe22ec122["SingleThreadEventExecutor"] 945e9c28_ba78_c305_39d7_9e5bd340ca00 -->|defined in| c9189467_acbc_07ea_3a8c_fecfe22ec122 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a["inEventLoop()"] 945e9c28_ba78_c305_39d7_9e5bd340ca00 -->|calls| 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a ced7700b_627f_0ab1_ff34_9e3824dfeea8["execute()"] 945e9c28_ba78_c305_39d7_9e5bd340ca00 -->|calls| ced7700b_627f_0ab1_ff34_9e3824dfeea8 8846f570_8032_89c9_e9e7_f552f8890802["Runnable()"] 945e9c28_ba78_c305_39d7_9e5bd340ca00 -->|calls| 8846f570_8032_89c9_e9e7_f552f8890802 4b4e2a57_ff72_0b7e_a075_ec9d6f860ef0["run()"] 945e9c28_ba78_c305_39d7_9e5bd340ca00 -->|calls| 4b4e2a57_ff72_0b7e_a075_ec9d6f860ef0 style 945e9c28_ba78_c305_39d7_9e5bd340ca00 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java lines 736–747
public void removeShutdownHook(final Runnable task) {
if (inEventLoop()) {
shutdownHooks.remove(task);
} else {
execute(new Runnable() {
@Override
public void run() {
shutdownHooks.remove(task);
}
});
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does removeShutdownHook() do?
removeShutdownHook() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java.
Where is removeShutdownHook() defined?
removeShutdownHook() is defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java at line 736.
What does removeShutdownHook() call?
removeShutdownHook() calls 4 function(s): Runnable, execute, inEventLoop, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free