{
    "content": [
        {
            "type": "text",
            "text": "# Cache::SizeAwareCache (info)\n\n## NAME\n\nCache::SizeAwareCache -- extends the Cache interface.\n\n## SYNOPSIS\n\nuse Cache::SizeAwareCache;\nuse vars qw( @ISA );\n@ISA = qw( Cache::SizeAwareCache );\n\n## DESCRIPTION\n\nThe SizeAwareCache interface is implemented by classes that support all\nof the Cache::Cache interface in addition to the limitsize and\nmaxsize features of a size aware cache.\n\n## Sections\n\n- **Cache::SizeAwareCache(User Contributed Perl DocumentCache::SizeAwareCache(3pm)**\n- **NAME**\n- **DESCRIPTION**\n- **SYNOPSIS**\n- **CONSTANTS**\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::SizeAwareCache",
        "section": "",
        "mode": "info",
        "summary": "Cache::SizeAwareCache -- extends the Cache interface.",
        "synopsis": "use Cache::SizeAwareCache;\nuse vars qw( @ISA );\n@ISA = qw( Cache::SizeAwareCache );",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "Cache::SizeAwareCache(User Contributed Perl DocumentCache::SizeAwareCache(3pm)",
                "lines": 1,
                "subsections": []
            },
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "CONSTANTS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "PROPERTIES",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "Cache::SizeAwareCache(User Contributed Perl DocumentCache::SizeAwareCache(3pm)": {
                "content": "",
                "subsections": []
            },
            "NAME": {
                "content": "Cache::SizeAwareCache -- extends the Cache interface.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The SizeAwareCache interface is implemented by classes that support all\nof the Cache::Cache interface in addition to the limitsize and\nmaxsize features of a size aware cache.\n\nThe default cache size limiting algorithm works by removing cache\nobjects in the following order until the desired limit is reached:\n\n1) objects that have expired\n2) objects that are least recently accessed\n3) objects that expire next\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Cache::SizeAwareCache;\nuse vars qw( @ISA );\n\n@ISA = qw( Cache::SizeAwareCache );\n",
                "subsections": []
            },
            "CONSTANTS": {
                "content": "Please see Cache::Cache for standard constants\n\n$NOMAXSIZE\nThe cache has no size restrictions\n",
                "subsections": []
            },
            "METHODS": {
                "content": "Please see Cache::Cache for the standard methods\n\nlimitsize( $newsize )\nAttempt to resize the cache such that the total disk usage is under\nthe $newsize parameter.  $newsize represents t size (in bytes)\nthat the cache should be limited to.  Note that this is only a one\ntime adjustment.  To maintain the cache size, consider using the\nmaxsize option, although it is considered very expensive, and can\noften be better achieved by periodically calling limitsize.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "Please see Cache::Cache for the standard options\n\nmaxsize\nSets the maxsize property (size in bytes), which is described in\ndetail below.  Defaults to $NOMAXSIZE.\n",
                "subsections": []
            },
            "PROPERTIES": {
                "content": "Please see Cache::Cache for standard properties\n\n(get|set)maxsize\nIf this property is set, then the cache will try not to exceed the\nmax size value (in bytes) specified.  NOTE: This causes the size of\nthe cache to be checked on every set, and can be considered *very*\nexpensive in some implementations.  A good alternative approach is\nleave maxsize as $NOMAXSIZE and to periodically limit the size\nof the cache by calling the limitsize( $size ) method.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Cache::Cache\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Original author: DeWitt Clinton <dewitt@unto.net>\n\nLast author:     $Author: dclinton $\n\nCopyright (C) 2001-2003 DeWitt Clinton\n\nperl v5.20.2                      2015-01-22        Cache::SizeAwareCache(3pm)",
                "subsections": []
            }
        }
    }
}