|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.hazelcast.core.AbstractIMapEvent com.hazelcast.core.EntryEvent<K,V>
K
- key of the map entryV
- value of the map entrypublic class EntryEvent<K,V>
Map Entry event.
EntryListener
,
IMap.addEntryListener(EntryListener, boolean)
,
Serialized FormField Summary | |
---|---|
protected K |
key
|
protected V |
oldValue
|
protected V |
value
|
Fields inherited from class com.hazelcast.core.AbstractIMapEvent |
---|
name |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V value)
Constructs an entry event. |
|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V oldValue,
V value)
Constructs an entry event. |
Method Summary | |
---|---|
K |
getKey()
Returns the key of the entry event. |
V |
getOldValue()
Returns the old value of the entry event. |
V |
getValue()
Returns the value of the entry event. |
String |
toString()
Returns a String representation of this event. |
Methods inherited from class com.hazelcast.core.AbstractIMapEvent |
---|
getEventType, getMember, getName, getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected K key
protected V oldValue
protected V value
Constructor Detail |
---|
public EntryEvent(Object source, Member member, int eventType, K key, V value)
source
- The object on which the event initially occurred.member
- The interface to the cluster member (node).eventType
- The event type as an enum EntryEventType
integer.key
- The key for this entry event.value
- The value of the entry event.
IllegalArgumentException
- if source is null.public EntryEvent(Object source, Member member, int eventType, K key, V oldValue, V value)
source
- The object on which the Event initially occurred.member
- The interface to the cluster member (node).eventType
- The event type as an enum EntryEventType
integer.key
- The key of this entry event.oldValue
- The old value of the entry event.value
- The value of the entry event.
IllegalArgumentException
- if source is null.Method Detail |
---|
public K getKey()
public V getOldValue()
public V getValue()
public String toString()
AbstractIMapEvent
toString
in class AbstractIMapEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |