public class CacheEventDataImpl extends Object implements CacheEventData
| Constructor and Description |
|---|
CacheEventDataImpl() |
CacheEventDataImpl(String name,
CacheEventType eventType,
Data dataKey,
Data dataNewValue,
Data dataOldValue,
boolean isOldValueAvailable) |
| Modifier and Type | Method and Description |
|---|---|
CacheEventType |
getCacheEventType() |
Data |
getDataKey() |
Data |
getDataOldValue() |
Data |
getDataValue() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
String |
getName() |
boolean |
isOldValueAvailable() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public CacheEventDataImpl()
public CacheEventDataImpl(String name, CacheEventType eventType, Data dataKey, Data dataNewValue, Data dataOldValue, boolean isOldValueAvailable)
public String getName()
getName in interface CacheEventDatapublic CacheEventType getCacheEventType()
getCacheEventType in interface CacheEventDatapublic Data getDataKey()
getDataKey in interface CacheEventDatapublic Data getDataValue()
getDataValue in interface CacheEventDatapublic Data getDataOldValue()
getDataOldValue in interface CacheEventDatapublic boolean isOldValueAvailable()
isOldValueAvailable in interface 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 © 2015 Hazelcast, Inc.. All Rights Reserved.