Clover coverage report -
Coverage timestamp: do jan 22 2004 21:12:32 CET
file stats: LOC: 56   Methods: 0
NCLOC: 10   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
CacheEntryEventListener.java - - - -
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 the interface to listen to cache entry events. There is a method
 10   
  * for each event type. These methods are called via a dispatcher. If you
 11   
  * want to be notified when an event occurs on an entry, group or across a
 12   
  * pattern, register a listener and implement this interface.
 13   
  *
 14   
  * @version        $Revision: 1.1 $
 15   
  * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
 16   
  */
 17   
 public interface CacheEntryEventListener extends CacheEventListener {
 18   
     /**
 19   
      * Event fired when an entry is added to the cache.
 20   
      */
 21   
     void cacheEntryAdded(CacheEntryEvent event);
 22   
 
 23   
     /**
 24   
      * Event fired when an entry is flushed from the cache.
 25   
      */
 26   
     void cacheEntryFlushed(CacheEntryEvent event);
 27   
 
 28   
     /**
 29   
      * Event fired when an entry is removed from the cache.
 30   
      */
 31   
     void cacheEntryRemoved(CacheEntryEvent event);
 32   
 
 33   
     /**
 34   
      * Event fired when an entry is updated in the cache.
 35   
      */
 36   
     void cacheEntryUpdated(CacheEntryEvent event);
 37   
 
 38   
     /**
 39   
      * Event fired when a group is flushed from the cache.
 40   
      */
 41   
     void cacheGroupFlushed(CacheGroupEvent event);
 42   
 
 43   
     /**
 44   
      * Event fired when a key pattern is flushed from the cache.
 45   
      * Note that this event will <em>not</em> be fired if the pattern
 46   
      * is <code>null</code> or an empty string, instead the flush
 47   
      * request will silently be ignored.
 48   
      */
 49   
     void cachePatternFlushed(CachePatternEvent event);
 50   
 
 51   
     /**
 52   
      * An event that is fired when an entire cache gets flushed.
 53   
      */
 54   
     void cacheFlushed(CachewideEvent event);
 55   
 }
 56