V - the type of the merged valueT - the type of the merging value, e.g. MergingValue<V>
or a composition like MergingEntry<String, V> & MergingHitspublic abstract class AbstractSplitBrainMergePolicy<V,T extends MergingValue<V>> extends Object implements SplitBrainMergePolicy<V,T>, IdentifiedDataSerializable
SplitBrainMergePolicy for the out-of-the-box merge policies.
Doesn't save the injected SerializationService, since it's not needed by any out-of-the-box merge policy.
| Constructor and Description |
|---|
AbstractSplitBrainMergePolicy() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergegetIdpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out)
DataSerializablewriteData in interface DataSerializableout - outputpublic void readData(ObjectDataInput in)
DataSerializablereadData in interface DataSerializablein - inputCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.