setSessionTimeout() — netty Function Reference
Architecture documentation for the setSessionTimeout() function in OpenSslSessionContext.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 800ea46a_bbc8_6eab_6b44_15b2bca253f9["setSessionTimeout()"] 6761f03c_910d_c89a_256f_4472ec59d426["OpenSslSessionContext"] 800ea46a_bbc8_6eab_6b44_15b2bca253f9 -->|defined in| 6761f03c_910d_c89a_256f_4472ec59d426 style 800ea46a_bbc8_6eab_6b44_15b2bca253f9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/OpenSslSessionContext.java lines 76–88
@Override
public void setSessionTimeout(int seconds) {
ObjectUtil.checkPositiveOrZero(seconds, "seconds");
Lock writerLock = context.ctxLock.writeLock();
writerLock.lock();
try {
SSLContext.setSessionCacheTimeout(context.ctx, seconds);
sessionCache.setSessionTimeout(seconds);
} finally {
writerLock.unlock();
}
}
Domain
Subdomains
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/OpenSslSessionContext.java.
Where is setSessionTimeout() defined?
setSessionTimeout() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionContext.java at line 76.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free