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