org.fjank.jcache
Class CacheEventImpl

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface javax.util.jcache.CacheEvent
OBJECT_INVALIDATED
 
Constructor Summary
CacheEventImpl(int id, Object key)
           
 
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
 

Constructor Detail

CacheEventImpl

public CacheEventImpl(int id,
                      Object key)
Method Detail

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.