{
    "content": [
        {
            "type": "text",
            "text": "# Cache::SizeAwareMemoryCache (perldoc)\n\n## NAME\n\nCache::SizeAwareMemoryCache -- extends Cache::MemoryCache\n\n## SYNOPSIS\n\nuse Cache::SizeAwareMemoryCache;\nmy $cache =\nnew Cache::SizeAwareMemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600,\n'maxsize' => 10000 } );\n\n## DESCRIPTION\n\nThe SizeAwareMemoryCache class adds the ability to dynamically limit the size (in bytes) of a\nmemory based cache. This class also implements the SizeAwareCache interface, providing the\n'maxsize' option and the 'limitsize( $size )' method.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **SYNOPSIS**\n- **METHODS**\n- **OPTIONS**\n- **PROPERTIES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Cache::SizeAwareMemoryCache",
        "section": "",
        "mode": "perldoc",
        "summary": "Cache::SizeAwareMemoryCache -- extends Cache::MemoryCache",
        "synopsis": "use Cache::SizeAwareMemoryCache;\nmy $cache =\nnew Cache::SizeAwareMemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600,\n'maxsize' => 10000 } );",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "PROPERTIES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Cache::SizeAwareMemoryCache -- extends Cache::MemoryCache\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The SizeAwareMemoryCache class adds the ability to dynamically limit the size (in bytes) of a\nmemory based cache. This class also implements the SizeAwareCache interface, providing the\n'maxsize' option and the 'limitsize( $size )' method.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Cache::SizeAwareMemoryCache;\n\nmy $cache =\nnew Cache::SizeAwareMemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600,\n'maxsize' => 10000 } );\n",
                "subsections": []
            },
            "METHODS": {
                "content": "See Cache::Cache and Cache::SizeAwareCache for the API documentation.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "See Cache::Cache and Cache::SizeAwareCache for the standard options.\n",
                "subsections": []
            },
            "PROPERTIES": {
                "content": "See Cache::Cache and Cache::SizeAwareCache for the default properties.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Cache::Cache, Cache::SizeAwareCache, Cache::MemoryCache\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Original author: DeWitt Clinton <dewitt@unto.net>\n\nLast author: $Author: dclinton $\n\nCopyright (C) 2001-2003 DeWitt Clinton\n",
                "subsections": []
            }
        }
    }
}