Class JCSCacheEntryEvent<K,V>

java.lang.Object
java.util.EventObject
javax.cache.event.CacheEntryEvent<K,V>
org.apache.commons.jcs3.jcache.JCSCacheEntryEvent<K,V>
All Implemented Interfaces:
Serializable, javax.cache.Cache.Entry<K,V>

public class JCSCacheEntryEvent<K,V> extends javax.cache.event.CacheEntryEvent<K,V>
See Also:
  • Constructor Details

    • JCSCacheEntryEvent

      public JCSCacheEntryEvent(javax.cache.Cache<K,V> source, javax.cache.event.EventType eventType, V old, K key, V value)
  • Method Details

    • getOldValue

      public V getOldValue()
      Specified by:
      getOldValue in class javax.cache.event.CacheEntryEvent<K,V>
    • isOldValueAvailable

      public boolean isOldValueAvailable()
      Specified by:
      isOldValueAvailable in class javax.cache.event.CacheEntryEvent<K,V>
    • getKey

      public K getKey()
    • getValue

      public V getValue()
    • unwrap

      public <T> T unwrap(Class<T> clazz)