public class CachePartitionEventData extends CacheEventDataImpl implements CacheEventData
Constructor and Description |
---|
CachePartitionEventData() |
CachePartitionEventData(String name,
int partitionId,
Member member) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getId()
Returns type identifier for this class.
|
Member |
getMember() |
int |
getPartitionId() |
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getCacheEventType, getDataKey, getDataOldValue, getDataValue, getFactoryId, getName, isOldValueAvailable
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCacheEventType, getDataKey, getDataOldValue, getDataValue, getName, isOldValueAvailable
getFactoryId
public Member getMember()
public int getPartitionId()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class CacheEventDataImpl
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class CacheEventDataImpl
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public String toString()
toString
in class CacheEventDataImpl
public boolean equals(Object o)
equals
in class CacheEventDataImpl
public int hashCode()
hashCode
in class CacheEventDataImpl
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class CacheEventDataImpl
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.