org.shiftone.cache.policy.lfu
Class LfuCacheFactory

java.lang.Object
  extended byorg.shiftone.cache.policy.AbstractPolicyCacheFactory
      extended byorg.shiftone.cache.policy.lfu.LfuCacheFactory
All Implemented Interfaces:
CacheFactory

public class LfuCacheFactory
extends AbstractPolicyCacheFactory

Creates a least-frequently-used cache.

Version:
$Revision: 1.9 $
Author:
Jeff Drost

Constructor Summary
LfuCacheFactory()
           
 
Method Summary
 ReapableCache newReapableCache(java.lang.String cacheName, long timeoutMilliSeconds, int maxSize, EvictionListener listener)
           
 java.lang.String toString()
           
 
Methods inherited from class org.shiftone.cache.policy.AbstractPolicyCacheFactory
getEvictionListener, getPeriod, newInstance, setEvictionListenerClass, setPeriod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LfuCacheFactory

public LfuCacheFactory()
Method Detail

newReapableCache

public ReapableCache newReapableCache(java.lang.String cacheName,
                                      long timeoutMilliSeconds,
                                      int maxSize,
                                      EvictionListener listener)
Specified by:
newReapableCache in class AbstractPolicyCacheFactory

toString

public java.lang.String toString()