setSessionTimeout() — netty Function Reference
Architecture documentation for the setSessionTimeout() function in OpenSslSessionCache.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 919846fd_dbce_c55a_1683_045053f5dc5f["setSessionTimeout()"] 6355c604_3e83_2b17_e056_558795a68fc3["OpenSslSessionCache"] 919846fd_dbce_c55a_1683_045053f5dc5f -->|defined in| 6355c604_3e83_2b17_e056_558795a68fc3 301e8d1e_768c_8cd6_8923_a7609f6c20e5["clear()"] 919846fd_dbce_c55a_1683_045053f5dc5f -->|calls| 301e8d1e_768c_8cd6_8923_a7609f6c20e5 style 919846fd_dbce_c55a_1683_045053f5dc5f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java lines 81–88
final void setSessionTimeout(int seconds) {
int oldTimeout = sessionTimeout.getAndSet(seconds);
if (oldTimeout > seconds) {
// Drain the whole cache as this way we can use the ordering of the LinkedHashMap to detect early
// if there are any other sessions left that are invalid.
clear();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does setSessionTimeout() do?
setSessionTimeout() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java.
Where is setSessionTimeout() defined?
setSessionTimeout() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java at line 81.
What does setSessionTimeout() call?
setSessionTimeout() calls 1 function(s): clear.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free