org.wso2.carbon.caching.impl
Class CacheEntryEventImpl

java.lang.Object
  extended by java.util.EventObject
      extended by javax.cache.event.CacheEntryEvent
          extended by org.wso2.carbon.caching.impl.CacheEntryEventImpl
All Implemented Interfaces:
Serializable

public class CacheEntryEventImpl
extends CacheEntryEvent

TODO: class description

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CacheEntryEventImpl(Cache source)
          Constructs a cache entry event from a given cache as source
 
Method Summary
 Object getKey()
          Returns the key of the cache entry with the event
 Object getValue()
          Returns the value of the cache entry with the event
 void setKey(Object key)
           
 void setValue(Object value)
           
 
Methods inherited from class javax.cache.event.CacheEntryEvent
getSource
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheEntryEventImpl

public CacheEntryEventImpl(Cache source)
Constructs a cache entry event from a given cache as source

Parameters:
source - the cache that originated the event
Method Detail

setKey

public void setKey(Object key)

setValue

public void setValue(Object value)

getKey

public Object getKey()
Description copied from class: CacheEntryEvent
Returns the key of the cache entry with the event

Specified by:
getKey in class CacheEntryEvent
Returns:
the key

getValue

public Object getValue()
Description copied from class: CacheEntryEvent
Returns the value of the cache entry with the event

Specified by:
getValue in class CacheEntryEvent
Returns:
the value


Copyright © 2014 WSO2 Inc. All rights reserved.