|
||||||||||
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.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 boolean |
collection
|
protected EntryEventType |
entryEventType
|
protected K |
key
|
protected Member |
member
|
protected String |
name
|
protected V |
oldValue
|
static int |
TYPE_ADDED
|
static int |
TYPE_EVICTED
|
static int |
TYPE_REMOVED
|
static int |
TYPE_UPDATED
|
protected V |
value
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V value)
|
|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V oldValue,
V value)
|
Method Summary | |
---|---|
EntryEventType |
getEventType()
Return the event type |
K |
getKey()
Returns the key of the entry event |
Member |
getMember()
Returns the member fired this event. |
String |
getName()
Returns the name of the map for this event. |
V |
getOldValue()
Returns the old value of the entry event |
Object |
getSource()
|
V |
getValue()
Returns the value of the entry event |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_ADDED
public static final int TYPE_REMOVED
public static final int TYPE_UPDATED
public static final int TYPE_EVICTED
protected EntryEventType entryEventType
protected K key
protected V oldValue
protected V value
protected Member member
protected final String name
protected boolean collection
Constructor Detail |
---|
public EntryEvent(Object source, Member member, int eventType, K key, V value)
public EntryEvent(Object source, Member member, int eventType, K key, V oldValue, V value)
Method Detail |
---|
public Object getSource()
getSource
in class EventObject
public K getKey()
public V getOldValue()
public V getValue()
public Member getMember()
public EntryEventType getEventType()
public String getName()
public String toString()
toString
in class EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |