|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| CacheMapAccessEventListener.java | - | - | - | - |
|
||||||||||||||
| 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: 254 $ | |
| 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 | } |
|
||||||||||