com.hazelcast.core
Class MapEvent
java.lang.Object
java.util.EventObject
com.hazelcast.core.AbstractIMapEvent
com.hazelcast.core.MapEvent
- All Implemented Interfaces:
- IMapEvent, Serializable
public class MapEvent
- extends AbstractIMapEvent
Used for map-wide events like EntryEventType.EVICT_ALL
and EntryEventType.CLEAR_ALL
.
- See Also:
- Serialized Form
Constructor Summary |
MapEvent(Object source,
Member member,
int eventType,
int numberOfEntriesAffected)
|
MapEvent
public MapEvent(Object source,
Member member,
int eventType,
int numberOfEntriesAffected)
getNumberOfEntriesAffected
public int getNumberOfEntriesAffected()
- Returns the number of entries affected by this event.
- Returns:
- number of entries affected by this event
toString
public String toString()
- Description copied from class:
AbstractIMapEvent
- Returns a String representation of this event.
- Overrides:
toString
in class AbstractIMapEvent
- Returns:
- A String representation of this event.
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.