|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 CacheEventDatapublic CacheEventType getCacheEventType()
CacheEventData
getCacheEventType in interface CacheEventDataCacheEventTypepublic Data getDataKey()
CacheEventDataData.
getDataKey in interface CacheEventDataData.public Data getDataValue()
CacheEventDataData.
getDataValue in interface CacheEventDataData.public Data getDataOldValue()
CacheEventDataData, if available.
getDataOldValue in interface CacheEventDataData, else null.public boolean isOldValueAvailable()
CacheEventData
isOldValueAvailable in interface CacheEventData
public void writeData(ObjectDataOutput out)
throws IOException
DataSerializable
writeData in interface DataSerializableout - output
IOException
public void readData(ObjectDataInput in)
throws IOException
DataSerializable
readData in interface DataSerializablein - input
IOExceptionpublic int getId()
IdentifiedDataSerializable
getId in interface IdentifiedDataSerializablepublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||