KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > oscache > base > events > CacheMapAccessEventListener


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 map access events. The events are
10  * cache hits and misses, and are dispatched through this interface
11  *
12  * @version $Revision: 1.1 $
13  * @author <a HREF="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
14  */

15 public interface CacheMapAccessEventListener extends CacheEventListener {
16     /**
17      * Event fired when an entry is accessed.
18      * Use getEventType to differentiate between access events.
19      */

20     public void accessed(CacheMapAccessEvent event);
21 }
22
Popular Tags