1 7 package org.jboss.cache.eviction; 8 9 15 public class LFUPolicy extends BaseEvictionPolicy implements EvictionPolicy 16 { 17 private LFUAlgorithm algorithm; 18 19 public LFUPolicy() 20 { 21 super(); 22 algorithm = new LFUAlgorithm(); 23 } 24 25 public EvictionAlgorithm getEvictionAlgorithm() 26 { 27 return algorithm; 28 } 29 30 public Class getEvictionConfigurationClass() 31 { 32 return LFUConfiguration.class; 33 } 34 } 35 | Popular Tags |