Query: cache::ref::gclock
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Cache::Ref::GCLOCK(3pm) User Contributed Perl Documentation Cache::Ref::GCLOCK(3pm)NAMECache::Ref::GCLOCK - GCLOCK cache replacement algorithmSYNOPSISmy $c = Cache::Ref::GCLOCK->new( size => $n, );DESCRIPTIONThis algorithm is related to Cache::Ref::CLOCK but instead of starting all cache hits from "k", a counter is increased on every hit. This provides behavior which models an LFU expiry policy (without taking into account the full keyspace).ATTRIBUTESsize The size of the live entries.AUTHORYuval KogmanCOPYRIGHT AND LICENSEThis software is copyright (c) 2010 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.4 2010-09-23 Cache::Ref::GCLOCK(3pm)