public class CacheEventSet extends Object implements IdentifiedDataSerializable
Internal Set wrapper of CacheEventData items used during publishing and dispatching events.
CacheEntryListener. This implementation  serves that purpose
 as a CacheEventData set.| Constructor and Description | 
|---|
| CacheEventSet() | 
| CacheEventSet(CacheEventType eventType,
             int completionId) | 
| CacheEventSet(CacheEventType eventType,
             Set<CacheEventData> events) | 
| CacheEventSet(CacheEventType eventType,
             Set<CacheEventData> events,
             int completionId) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addEventData(CacheEventData cacheEventData)Helper method for adding multiple CacheEventData into this Set | 
| int | getCompletionId() | 
| Set<CacheEventData> | getEvents() | 
| CacheEventType | getEventType() | 
| int | getFactoryId()Returns DataSerializableFactory factory id for this class. | 
| int | getId()Returns type identifier for this class. | 
| void | readData(ObjectDataInput in)Reads fields from the input stream | 
| void | writeData(ObjectDataOutput out)Writes object fields to output stream | 
public CacheEventSet()
public CacheEventSet(CacheEventType eventType, Set<CacheEventData> events)
public CacheEventSet(CacheEventType eventType, Set<CacheEventData> events, int completionId)
public CacheEventSet(CacheEventType eventType, int completionId)
public Set<CacheEventData> getEvents()
public CacheEventType getEventType()
public int getCompletionId()
public void addEventData(CacheEventData cacheEventData)
cacheEventData - event data representing a single event's data.CacheEventDatapublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializableCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.