{
    "mode": "perldoc",
    "parameter": "Cache::SizeAwareMemoryCache",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ASizeAwareMemoryCache/json",
    "generated": "2026-06-13T04:36:58Z",
    "synopsis": "use Cache::SizeAwareMemoryCache;\nmy $cache =\nnew Cache::SizeAwareMemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600,\n'maxsize' => 10000 } );",
    "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": []
        }
    },
    "summary": "Cache::SizeAwareMemoryCache -- extends Cache::MemoryCache",
    "flags": [],
    "examples": [],
    "see_also": []
}