|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.impl.internal.events.StoreEventImpl<K,V>
public class StoreEventImpl<K,V>
StoreEventImpl
Constructor Summary | |
---|---|
StoreEventImpl(EventType type,
K key,
V oldValue,
V newValue)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
K |
getKey()
The key of the mapping affected by the mutative event |
V |
getNewValue()
The mapped value immediately after the mutative event occurred. |
V |
getOldValue()
The mapped value immediately before the mutative event occurred. |
EventType |
getType()
The type of mutative event |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StoreEventImpl(EventType type, K key, V oldValue, V newValue)
Method Detail |
---|
public EventType getType()
StoreEvent
getType
in interface StoreEvent<K,V>
public K getKey()
StoreEvent
getKey
in interface StoreEvent<K,V>
public V getNewValue()
StoreEvent
If the mutative event removes the mapping then null
is returned.
getNewValue
in interface StoreEvent<K,V>
public V getOldValue()
StoreEvent
If the mutative event created the mapping then null
is returned.
getOldValue
in interface StoreEvent<K,V>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |