|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.cache.impl.CacheEventSet
public class CacheEventSet
Internal Set wrapper of CacheEventData
items used during publishing and dispatching events.
CacheEntryListener
. This implementation serves that purpose
as a CacheEventData
set.
AbstractCacheService.publishEvent(String, CacheEventSet, int)
,
AbstractCacheService.dispatchEvent(Object, CacheEventListener)
Constructor Summary | |
---|---|
CacheEventSet()
|
|
CacheEventSet(CacheEventType eventType,
int completionId)
|
|
CacheEventSet(CacheEventType eventType,
Set<CacheEventData> events)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheEventSet()
public CacheEventSet(CacheEventType eventType, Set<CacheEventData> events)
public CacheEventSet(CacheEventType eventType, int completionId)
Method Detail |
---|
public Set<CacheEventData> getEvents()
public CacheEventType getEventType()
public int getCompletionId()
public void addEventData(CacheEventData cacheEventData)
cacheEventData
- event data representing a single event's data.CacheEventData
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- output
IOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- input
IOException
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |