destroyUp() — netty Function Reference
Architecture documentation for the destroyUp() function in DefaultChannelPipeline.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fb6ad25e_c292_b13a_a808_4ebb2169debe["destroyUp()"] 12185bde_01b4_fad0_496c_1d27b952b797["DefaultChannelPipeline"] fb6ad25e_c292_b13a_a808_4ebb2169debe -->|defined in| 12185bde_01b4_fad0_496c_1d27b952b797 0260c0f6_f71c_8355_0bbb_f0b324251cd0["destroy()"] 0260c0f6_f71c_8355_0bbb_f0b324251cd0 -->|calls| fb6ad25e_c292_b13a_a808_4ebb2169debe f33f3271_dc85_22ed_c2fc_18995fafa31d["destroyDown()"] fb6ad25e_c292_b13a_a808_4ebb2169debe -->|calls| f33f3271_dc85_22ed_c2fc_18995fafa31d b913a6f8_1ac6_1588_4f4f_22210666f4cf["run()"] fb6ad25e_c292_b13a_a808_4ebb2169debe -->|calls| b913a6f8_1ac6_1588_4f4f_22210666f4cf 0d80fb97_055a_342e_a89b_547d6bae4466["execute()"] fb6ad25e_c292_b13a_a808_4ebb2169debe -->|calls| 0d80fb97_055a_342e_a89b_547d6bae4466 style fb6ad25e_c292_b13a_a808_4ebb2169debe fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java lines 804–828
private void destroyUp(AbstractChannelHandlerContext ctx, boolean inEventLoop) {
final Thread currentThread = Thread.currentThread();
final AbstractChannelHandlerContext tail = this.tail;
for (;;) {
if (ctx == tail) {
destroyDown(currentThread, tail.prev, inEventLoop);
break;
}
final EventExecutor executor = ctx.executor();
if (!inEventLoop && !executor.inEventLoop(currentThread)) {
final AbstractChannelHandlerContext finalCtx = ctx;
executor.execute(new Runnable() {
@Override
public void run() {
destroyUp(finalCtx, true);
}
});
break;
}
ctx = ctx.next;
inEventLoop = false;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does destroyUp() do?
destroyUp() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java.
Where is destroyUp() defined?
destroyUp() is defined in transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java at line 804.
What does destroyUp() call?
destroyUp() calls 3 function(s): destroyDown, execute, run.
What calls destroyUp()?
destroyUp() is called by 1 function(s): destroy.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free