org.fjank.jcache
Class CacheEventImpl
java.lang.Object
org.fjank.jcache.CacheEventImpl
- All Implemented Interfaces:
- CacheEvent
public class CacheEventImpl
- extends Object
- implements CacheEvent
Class to be able to have access to the object key
- Author:
- pfajeau
Method Summary |
int |
getId()
Returns the event identifier associated with the event. |
Object |
getKey()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheEventImpl
public CacheEventImpl(int id,
Object key)
getId
public int getId()
- Returns the event identifier associated with the event.
- Specified by:
getId
in interface CacheEvent
- Returns:
- the event identifier associated with the event.
getKey
public Object getKey()
Copyright © 2002-2009 Hosted by SourceForge. All Rights Reserved.