Home / Function/ setSessionCacheSize() — netty Function Reference

setSessionCacheSize() — netty Function Reference

Architecture documentation for the setSessionCacheSize() function in OpenSslSessionCache.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  74024072_3aea_8389_5305_56f72736f6e7["setSessionCacheSize()"]
  6355c604_3e83_2b17_e056_558795a68fc3["OpenSslSessionCache"]
  74024072_3aea_8389_5305_56f72736f6e7 -->|defined in| 6355c604_3e83_2b17_e056_558795a68fc3
  301e8d1e_768c_8cd6_8923_a7609f6c20e5["clear()"]
  74024072_3aea_8389_5305_56f72736f6e7 -->|calls| 301e8d1e_768c_8cd6_8923_a7609f6c20e5
  style 74024072_3aea_8389_5305_56f72736f6e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java lines 111–117

    final 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

Frequently Asked Questions

What does setSessionCacheSize() do?
setSessionCacheSize() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java.
Where is setSessionCacheSize() defined?
setSessionCacheSize() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java at line 111.
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