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)  | 
CacheEventSet(CacheEventType eventType,
             Set<CacheEventData> events)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addEventData(CacheEventData cacheEventData)
Helper method for adding multiple CacheEventData into this Set 
 | 
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)
public Set<CacheEventData> getEvents()
public CacheEventType getEventType()
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 © 2014 Hazelcast, Inc.. All Rights Reserved.