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
nameFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns 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:AbstractIMapEventReturns a String representation of this event.- Overrides:
toStringin classAbstractIMapEvent- Returns:
- A String representation of this event.
-