Interface MergingValue<V>

Type Parameters:
V - the type of the value
All Superinterfaces:
MergingView
All Known Subinterfaces:
MergingEntry<K,V>, SplitBrainMergeTypes.AtomicLongMergeTypes, SplitBrainMergeTypes.AtomicReferenceMergeTypes, SplitBrainMergeTypes.CacheMergeTypes<K,V>, SplitBrainMergeTypes.CardinalityEstimatorMergeTypes, SplitBrainMergeTypes.CollectionMergeTypes<V>, SplitBrainMergeTypes.MapMergeTypes<K,V>, SplitBrainMergeTypes.MultiMapMergeTypes<K,V>, SplitBrainMergeTypes.QueueMergeTypes<V>, SplitBrainMergeTypes.ReplicatedMapMergeTypes<K,V>, SplitBrainMergeTypes.RingbufferMergeTypes, SplitBrainMergeTypes.ScheduledExecutorMergeTypes

public interface MergingValue<V> extends MergingView
Represents a read-only view of a data structure value for the merging process after a split-brain.
Since:
3.10
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the merging value in deserialized form.
    Returns the merging value in the in-memory format of the backing data structure.
    default V
    Deprecated.
    since 5.4 - this method name is too ambiguous and does not convey its functionality well (it deserializes the value) - so it is being replaced by getDeserializedValue().
  • Method Details

    • getValue

      @Deprecated default V getValue()
      Deprecated.
      since 5.4 - this method name is too ambiguous and does not convey its functionality well (it deserializes the value) - so it is being replaced by getDeserializedValue().
      Returns the merging value in deserialized form.
      Returns:
      the deserialized merging value
    • getDeserializedValue

      V getDeserializedValue()
      Returns the merging value in deserialized form.
      Returns:
      the deserialized merging value
      Since:
      5.4
    • getRawValue

      Object getRawValue()
      Returns the merging value in the in-memory format of the backing data structure.
      Returns:
      the merging value