V
- the type of the merged valueT
- the type of the merging value, e.g. MergingValue<V>
or a composition like MergingEntry<String, V> & MergingHits
public 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, wait
merge
getId
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out)
DataSerializable
writeData
in interface DataSerializable
out
- outputpublic void readData(ObjectDataInput in)
DataSerializable
readData
in interface DataSerializable
in
- inputCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.