org.ehcache.impl.internal.events
Class StoreEvents

java.lang.Object
  extended by org.ehcache.impl.internal.events.StoreEvents

public class StoreEvents
extends java.lang.Object


Constructor Summary
StoreEvents()
           
 
Method Summary
static
<K,V> StoreEvent<K,V>
createEvent(K key, V value)
           
static
<K,V> StoreEvent<K,V>
evictEvent(K key, V oldValue)
           
static
<K,V> StoreEvent<K,V>
expireEvent(K key, V oldValue)
           
static
<K,V> StoreEvent<K,V>
removeEvent(K key, V oldValue)
           
static
<K,V> StoreEvent<K,V>
updateEvent(K key, V oldValue, V newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreEvents

public StoreEvents()
Method Detail

createEvent

public static <K,V> StoreEvent<K,V> createEvent(K key,
                                                V value)

updateEvent

public static <K,V> StoreEvent<K,V> updateEvent(K key,
                                                V oldValue,
                                                V newValue)

removeEvent

public static <K,V> StoreEvent<K,V> removeEvent(K key,
                                                V oldValue)

expireEvent

public static <K,V> StoreEvent<K,V> expireEvent(K key,
                                                V oldValue)

evictEvent

public static <K,V> StoreEvent<K,V> evictEvent(K key,
                                               V oldValue)