destroy() — netty Function Reference
Architecture documentation for the destroy() function in IdleStateHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d2da4a21_1956_d88c_501f_e72ceb11bc23["destroy()"] f7baaa36_50d8_55ab_5867_911f99fb154d["IdleStateHandler"] d2da4a21_1956_d88c_501f_e72ceb11bc23 -->|defined in| f7baaa36_50d8_55ab_5867_911f99fb154d 24822fa2_75da_7f07_225a_24b99442441d["handlerRemoved()"] 24822fa2_75da_7f07_225a_24b99442441d -->|calls| d2da4a21_1956_d88c_501f_e72ceb11bc23 340f6f43_8144_9aa4_f84c_1da610fe42be["channelInactive()"] 340f6f43_8144_9aa4_f84c_1da610fe42be -->|calls| d2da4a21_1956_d88c_501f_e72ceb11bc23 312a1b1a_95cc_67e5_2c1d_a72c71815889["initialize()"] 312a1b1a_95cc_67e5_2c1d_a72c71815889 -->|calls| d2da4a21_1956_d88c_501f_e72ceb11bc23 style d2da4a21_1956_d88c_501f_e72ceb11bc23 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java lines 365–380
private void destroy() {
state = ST_DESTROYED;
if (readerIdleTimeout != null) {
readerIdleTimeout.cancel(false);
readerIdleTimeout = null;
}
if (writerIdleTimeout != null) {
writerIdleTimeout.cancel(false);
writerIdleTimeout = null;
}
if (allIdleTimeout != null) {
allIdleTimeout.cancel(false);
allIdleTimeout = null;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does destroy() do?
destroy() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java.
Where is destroy() defined?
destroy() is defined in handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java at line 365.
What calls destroy()?
destroy() is called by 3 function(s): channelInactive, handlerRemoved, initialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free