initOutputChanged() — netty Function Reference
Architecture documentation for the initOutputChanged() function in IdleStateHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c0cc841a_6e09_9b36_8be9_913fa274583f["initOutputChanged()"] f7baaa36_50d8_55ab_5867_911f99fb154d["IdleStateHandler"] c0cc841a_6e09_9b36_8be9_913fa274583f -->|defined in| f7baaa36_50d8_55ab_5867_911f99fb154d 312a1b1a_95cc_67e5_2c1d_a72c71815889["initialize()"] 312a1b1a_95cc_67e5_2c1d_a72c71815889 -->|calls| c0cc841a_6e09_9b36_8be9_913fa274583f style c0cc841a_6e09_9b36_8be9_913fa274583f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java lines 409–421
private void initOutputChanged(ChannelHandlerContext ctx) {
if (observeOutput) {
Channel channel = ctx.channel();
Unsafe unsafe = channel.unsafe();
ChannelOutboundBuffer buf = unsafe.outboundBuffer();
if (buf != null) {
lastMessageHashCode = System.identityHashCode(buf.current());
lastPendingWriteBytes = buf.totalPendingWriteBytes();
lastFlushProgress = buf.currentProgress();
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does initOutputChanged() do?
initOutputChanged() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java.
Where is initOutputChanged() defined?
initOutputChanged() is defined in handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java at line 409.
What calls initOutputChanged()?
initOutputChanged() is called by 1 function(s): initialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free