01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.oscache.base.events;
06:
07: /**
08: * This is the interface to listen to cache map access events. The events are
09: * cache hits and misses, and are dispatched through this interface
10: *
11: * @version $Revision: 254 $
12: * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
13: */
14: public interface CacheMapAccessEventListener extends CacheEventListener {
15: /**
16: * Event fired when an entry is accessed.
17: * Use getEventType to differentiate between access events.
18: */
19: public void accessed(CacheMapAccessEvent event);
20: }
|