|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.replicatedmap.impl.messages.ReplicationMessage<K,V>
K - key typeV - value typepublic class ReplicationMessage<K,V>
This replication message is used for sending over a replication event to another node
| Constructor Summary | |
|---|---|
ReplicationMessage()
|
|
ReplicationMessage(String name,
K key,
V v,
VectorClockTimestamp timestamp,
Member origin,
int hash,
long ttlMillis)
|
|
| Method Summary | |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class. |
int |
getId()
Returns type identifier for this class. |
K |
getKey()
|
String |
getName()
|
Member |
getOrigin()
|
long |
getTtlMillis()
|
int |
getUpdateHash()
|
V |
getValue()
|
VectorClockTimestamp |
getVectorClockTimestamp()
|
boolean |
isRemove()
|
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 ReplicationMessage()
public ReplicationMessage(String name,
K key,
V v,
VectorClockTimestamp timestamp,
Member origin,
int hash,
long ttlMillis)
| Method Detail |
|---|
public String getName()
public K getKey()
public V getValue()
public VectorClockTimestamp getVectorClockTimestamp()
public Member getOrigin()
public long getTtlMillis()
public int getUpdateHash()
public boolean isRemove()
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 getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializable
getId 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 | |||||||||