Package com.hazelcast.map
Class MapEvent
java.lang.Object
java.util.EventObject
com.hazelcast.map.AbstractIMapEvent
com.hazelcast.map.MapEvent
- All Implemented Interfaces:
IMapEvent
,Serializable
Used for map-wide events like
EntryEventType.EVICT_ALL
and EntryEventType.CLEAR_ALL
.- See Also:
-
Field Summary
Fields inherited from class com.hazelcast.map.AbstractIMapEvent
name
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of entries affected by this event.toString()
Returns a String representation of this event.Methods inherited from class com.hazelcast.map.AbstractIMapEvent
getEventType, getMember, getName, getSource
-
Constructor Details
-
MapEvent
-
-
Method Details
-
getNumberOfEntriesAffected
public int getNumberOfEntriesAffected()Returns the number of entries affected by this event.- Returns:
- number of entries affected by this event
-
toString
Description copied from class:AbstractIMapEvent
Returns a String representation of this event.- Overrides:
toString
in classAbstractIMapEvent
- Returns:
- A String representation of this event.
-