Clover coverage report -
Coverage timestamp: Sat Apr 30 2005 21:58:28 PDT
file stats: LOC: 55   Methods: 1
NCLOC: 11   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
CacheEntryEventType.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 all the possible events that may occur on a cache entry or
 10   
  * collection of cache entries.<p>
 11   
  * There is a corresponding interface {@link CacheEntryEventListener} for
 12   
  * handling these events.
 13   
  *
 14   
  * @version        $Revision: 1.1 $
 15   
  * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
 16   
  */
 17   
 public final class CacheEntryEventType {
 18   
     /**
 19   
      * Get an event type for an entry added.
 20   
      */
 21   
     public static CacheEntryEventType ENTRY_ADDED = new CacheEntryEventType();
 22   
 
 23   
     /**
 24   
      * Get an event type for an entry updated.
 25   
      */
 26   
     public static CacheEntryEventType ENTRY_UPDATED = new CacheEntryEventType();
 27   
 
 28   
     /**
 29   
      * Get an event type for an entry flushed.
 30   
      */
 31   
     public static CacheEntryEventType ENTRY_FLUSHED = new CacheEntryEventType();
 32   
 
 33   
     /**
 34   
      * Get an event type for an entry removed.
 35   
      */
 36   
     public static CacheEntryEventType ENTRY_REMOVED = new CacheEntryEventType();
 37   
 
 38   
     /**
 39   
      * Get an event type for a group flush event.
 40   
      */
 41   
     public static CacheEntryEventType GROUP_FLUSHED = new CacheEntryEventType();
 42   
 
 43   
     /**
 44   
      * Get an event type for a pattern flush event.
 45   
      */
 46   
     public static CacheEntryEventType PATTERN_FLUSHED = new CacheEntryEventType();
 47   
 
 48   
     /**
 49   
      * Private constructor to ensure that no object of that type are
 50   
      * created externally.
 51   
      */
 52  24
     private CacheEntryEventType() {
 53   
     }
 54   
 }
 55