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 CacheEventData
public CacheEventType getCacheEventType()
getCacheEventType
in interface CacheEventData
public Data getDataKey()
getDataKey
in interface CacheEventData
public Data getDataValue()
getDataValue
in interface CacheEventData
public Data getDataOldValue()
getDataOldValue
in interface CacheEventData
public boolean isOldValueAvailable()
isOldValueAvailable
in interface CacheEventData
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.