Clover coverage report -
Coverage timestamp: Fri Jul 2 2004 18:04:44 CEST
file stats: LOC: 38   Methods: 1
NCLOC: 8   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
CacheMapAccessEventType.java - - 100% 100%
coverage
 1   
 /*
 2   
  * Copyright (c) 2002-2003 by OpenSymphony
 3   
  * All rights reserved.
 4   
  */
 5   
 package com.opensymphony.oscache.base.events;
 6   
 
 7   
 
 8   
 /**
 9   
  * This is an enumeration of the cache events that represent the
 10   
  * various outcomes of cache accesses.
 11   
  *
 12   
  * @version $Revision: 1.1 $
 13   
  * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
 14   
  */
 15   
 public final class CacheMapAccessEventType {
 16   
     /**
 17   
      * Get an event type for a cache hit.
 18   
      */
 19   
     public static CacheMapAccessEventType HIT = new CacheMapAccessEventType();
 20   
 
 21   
     /**
 22   
      * Get an event type for a cache miss.
 23   
      */
 24   
     public static CacheMapAccessEventType MISS = new CacheMapAccessEventType();
 25   
 
 26   
     /**
 27   
      * Get an event type for when the data was found in the cache but was stale.
 28   
      */
 29   
     public static CacheMapAccessEventType STALE_HIT = new CacheMapAccessEventType();
 30   
 
 31   
     /**
 32   
      * Private constructor to ensure that no object of this type are
 33   
      * created externally.
 34   
      */
 35  36
     private CacheMapAccessEventType() {
 36   
     }
 37   
 }
 38