|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.cache.impl.CacheEventDataImpl
public class CacheEventDataImpl
Implementation of CacheEventData
.
CacheEventData
Constructor Summary | |
---|---|
CacheEventDataImpl()
|
|
CacheEventDataImpl(String name,
CacheEventType eventType,
Data dataKey,
Data dataNewValue,
Data dataOldValue,
boolean isOldValueAvailable)
|
Method Summary | |
---|---|
CacheEventType |
getCacheEventType()
Gets cache event type of this event data. |
Data |
getDataKey()
Gets cache entry key as Data . |
Data |
getDataOldValue()
Gets the old value of entry as Data , if available. |
Data |
getDataValue()
Gets cache entry value as Data . |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class. |
int |
getId()
Returns type identifier for this class. |
String |
getName()
Gets the name of the cache. |
boolean |
isOldValueAvailable()
Returns true if old value is available. |
void |
readData(ObjectDataInput in)
Reads fields from the input stream |
String |
toString()
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CacheEventDataImpl()
public CacheEventDataImpl(String name, CacheEventType eventType, Data dataKey, Data dataNewValue, Data dataOldValue, boolean isOldValueAvailable)
Method Detail |
---|
public String getName()
CacheEventData
getName
in interface CacheEventData
public CacheEventType getCacheEventType()
CacheEventData
getCacheEventType
in interface CacheEventData
CacheEventType
public Data getDataKey()
CacheEventData
Data
.
getDataKey
in interface CacheEventData
Data
.public Data getDataValue()
CacheEventData
Data
.
getDataValue
in interface CacheEventData
Data
.public Data getDataOldValue()
CacheEventData
Data
, if available.
getDataOldValue
in interface CacheEventData
Data
, else null.public boolean isOldValueAvailable()
CacheEventData
isOldValueAvailable
in interface 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
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |