clearOpWrite() — netty Function Reference
Architecture documentation for the clearOpWrite() function in AbstractNioByteChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d90218d8_6da4_9b59_fb11_460b955cc09a["clearOpWrite()"] 81dd42bf_4dab_740c_6405_14423e9ad1f8["AbstractNioByteChannel"] d90218d8_6da4_9b59_fb11_460b955cc09a -->|defined in| 81dd42bf_4dab_740c_6405_14423e9ad1f8 a28491f1_6177_d155_eb85_0f25c627fb66["doWrite()"] a28491f1_6177_d155_eb85_0f25c627fb66 -->|calls| d90218d8_6da4_9b59_fb11_460b955cc09a 46da3fe7_43e8_758e_f039_58b516d9c088["incompleteWrite()"] 46da3fe7_43e8_758e_f039_58b516d9c088 -->|calls| d90218d8_6da4_9b59_fb11_460b955cc09a style d90218d8_6da4_9b59_fb11_460b955cc09a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java lines 347–356
protected final void clearOpWrite() {
final IoRegistration registration = registration();
// Check first if the key is still valid as it may be canceled as part of the deregistration
// from the EventLoop
// See https://github.com/netty/netty/issues/2104
if (!registration.isValid()) {
return;
}
removeAndSubmit(NioIoOps.WRITE);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does clearOpWrite() do?
clearOpWrite() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java.
Where is clearOpWrite() defined?
clearOpWrite() is defined in transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java at line 347.
What calls clearOpWrite()?
clearOpWrite() is called by 2 function(s): doWrite, incompleteWrite.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free