logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Cache::Ref::CAR::Base - base clase for CAR and CART

Author

       Yuval Kogman

Description

       This role provides the common functionality for Cache::Ref::CAR and Cache::Ref::CART.

Methods

       get @keys
           Fetch data from the cache

       set $key, $value
           Insert data to the cache

       remove @keys
           Remove entries from the cache. Not in the original CAR algorithm description.

       expire $x
           Removes $x elements from the cache (hopefully the most useless ones). The default value for $x is 1.

       # ex: set sw=4 et:

Name

       Cache::Ref::CAR::Base - base clase for CAR and CART

Synopsis

           # see CAR or CART

See Also