clear() — netty Function Reference
Architecture documentation for the clear() function in OpenSslSessionCache.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 301e8d1e_768c_8cd6_8923_a7609f6c20e5["clear()"] 6355c604_3e83_2b17_e056_558795a68fc3["OpenSslSessionCache"] 301e8d1e_768c_8cd6_8923_a7609f6c20e5 -->|defined in| 6355c604_3e83_2b17_e056_558795a68fc3 919846fd_dbce_c55a_1683_045053f5dc5f["setSessionTimeout()"] 919846fd_dbce_c55a_1683_045053f5dc5f -->|calls| 301e8d1e_768c_8cd6_8923_a7609f6c20e5 74024072_3aea_8389_5305_56f72736f6e7["setSessionCacheSize()"] 74024072_3aea_8389_5305_56f72736f6e7 -->|calls| 301e8d1e_768c_8cd6_8923_a7609f6c20e5 fffde80d_79d3_d174_a852_3dbd539cda36["notifyRemovalAndFree()"] 301e8d1e_768c_8cd6_8923_a7609f6c20e5 -->|calls| fffde80d_79d3_d174_a852_3dbd539cda36 style 301e8d1e_768c_8cd6_8923_a7609f6c20e5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java lines 282–291
synchronized void clear() {
Iterator<Map.Entry<OpenSslSessionId, NativeSslSession>> iterator = sessions.entrySet().iterator();
while (iterator.hasNext()) {
NativeSslSession session = iterator.next().getValue();
iterator.remove();
// Notify about removal. This also takes care of calling SSL_SESSION_free(...).
notifyRemovalAndFree(session);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does clear() do?
clear() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java.
Where is clear() defined?
clear() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java at line 282.
What does clear() call?
clear() calls 1 function(s): notifyRemovalAndFree.
What calls clear()?
clear() is called by 2 function(s): setSessionCacheSize, setSessionTimeout.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free