Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 36   Methods: 3
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
FIFOPolicy.java - 100% 100% 100%
coverage
 1    /*
 2    * JBoss, the OpenSource J2EE webOS
 3    *
 4    * Distributable under LGPL license.
 5    * See terms of license at gnu.org.
 6    */
 7    package org.jboss.cache.eviction;
 8   
 9    /**
 10    * Eviction policy based on the FIFO algorithm where users can specify the max
 11    * number of nodes.
 12    *
 13    * @author Daniel Huang (dhuang@jboss.org)
 14    * @author Morten Kvistgaard
 15    * @version $Revision: 1.4 $
 16    */
 17    public class FIFOPolicy extends BaseEvictionPolicy implements EvictionPolicy
 18    {
 19    private FIFOAlgorithm algorithm;
 20   
 21  50 public FIFOPolicy()
 22    {
 23  50 super();
 24  50 algorithm = new FIFOAlgorithm();
 25    }
 26   
 27  52 public EvictionAlgorithm getEvictionAlgorithm()
 28    {
 29  52 return algorithm;
 30    }
 31   
 32  24 public Class<FIFOConfiguration> getEvictionConfigurationClass()
 33    {
 34  24 return FIFOConfiguration.class;
 35    }
 36    }