setSessionCacheSize() — netty Function Reference
Architecture documentation for the setSessionCacheSize() function in QuicClientSessionCache.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e925a35a_904c_2631_36d4_744f52a795f2["setSessionCacheSize()"] 5d182568_b440_b59f_55b6_3e43b2f435b4["QuicClientSessionCache"] e925a35a_904c_2631_36d4_744f52a795f2 -->|defined in| 5d182568_b440_b59f_55b6_3e43b2f435b4 0fc68975_1276_a6ff_e379_efba77780526["clear()"] e925a35a_904c_2631_36d4_744f52a795f2 -->|calls| 0fc68975_1276_a6ff_e379_efba77780526 style e925a35a_904c_2631_36d4_744f52a795f2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicClientSessionCache.java lines 130–136
void setSessionCacheSize(int size) {
long oldSize = maximumCacheSize.getAndSet(size);
if (oldSize > size || size == 0) {
// Just keep it simple for now and drain the whole cache.
clear();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does setSessionCacheSize() do?
setSessionCacheSize() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicClientSessionCache.java.
Where is setSessionCacheSize() defined?
setSessionCacheSize() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicClientSessionCache.java at line 130.
What does setSessionCacheSize() call?
setSessionCacheSize() 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