org.ehcache.events
Class CacheEvents
java.lang.Object
org.ehcache.events.CacheEvents
public final class CacheEvents
- extends java.lang.Object
Method Summary |
static
|
creation(K newKey,
V newValue,
Cache<K,V> source)
|
static
|
eviction(K evictedKey,
V evictedValue,
Cache<K,V> source)
|
static
|
expiry(K expiredKey,
V expiredValue,
Cache<K,V> source)
|
static
|
nullStoreEventListener()
|
static
|
removal(K removedKey,
V removedValue,
Cache<K,V> source)
|
static
|
update(K key,
V oldValue,
V newValue,
Cache<K,V> source)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expiry
public static <K,V> CacheEvent<K,V> expiry(K expiredKey,
V expiredValue,
Cache<K,V> source)
eviction
public static <K,V> CacheEvent<K,V> eviction(K evictedKey,
V evictedValue,
Cache<K,V> source)
creation
public static <K,V> CacheEvent<K,V> creation(K newKey,
V newValue,
Cache<K,V> source)
removal
public static <K,V> CacheEvent<K,V> removal(K removedKey,
V removedValue,
Cache<K,V> source)
update
public static <K,V> CacheEvent<K,V> update(K key,
V oldValue,
V newValue,
Cache<K,V> source)
nullStoreEventListener
public static <K,V> StoreEventListener<K,V> nullStoreEventListener()