This topic has not yet been rated - Rate this topic

CLOUFlusher Class 

This class conforms to the cache flusher archetype and allows the automatic removal of cache items based on their access pattern. Items that are used infrequently are presented for removal before items that are used more often.


class CLOUFlusher :
   public COldFlusher

This class promotes the removal of items that are used infrequently by ordering items primarily by the number of times that they have been accessed and secondarily by the order in which they were added to the cache. Thus an item that has been accessed a certain number of times over a long period will be removed before an item that has been accessed the same number of times, but over a shorter period of time.

Header: atlcache.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.