# Package com.hazelcast.spi.merge

This package contains interfaces and classes of the split-brain merging SPI.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  MergingCosts<V> | Represents a read-only view of memory costs for the merging process after a split-brain.
  MergingCreationTime<V> | Represents a read-only view a creation time for the merging process after a split-brain.
  MergingEntry<K,V> | Represents a read-only view of a data structure key/value-pair for the merging process after a split-brain.
  MergingExpirationTime<V> | Represents a read-only view of an expiration time for the merging process after a split-brain.
  MergingHits<V> | Represents a read-only view access hits for the merging process after a split-brain.
  MergingLastAccessTime<V> | Represents a read-only view of a last access time for the merging process after a split-brain.
  MergingLastStoredTime<V> | Represents a read-only view of a last stored time for the merging process after a split-brain.
  MergingLastUpdateTime<V> | Represents a read-only view of a last update time for the merging process after a split-brain.
  MergingTTL<V> | Represents a read-only view of a TTL for the merging process after a split-brain.
  MergingValue<V> | Represents a read-only view of a data structure value for the merging process after a split-brain.
  MergingVersion<V> | Represents a read-only view of a version for the merging process after a split-brain.
  SplitBrainMergePolicy<V,T extends MergingValue<V>> | Policy for merging data structure values after a split-brain has been healed.
  SplitBrainMergeTypeProvider<T extends MergingValue> | Returns a class with the provided merge value types.
  SplitBrainMergeTypes.AtomicLongMergeTypes | Provided merge types of `IAtomicLong`.
  SplitBrainMergeTypes.AtomicReferenceMergeTypes | Provided merge types of `IAtomicReference`.
  SplitBrainMergeTypes.CacheMergeTypes | Provided merge types of `ICache`.
  SplitBrainMergeTypes.CardinalityEstimatorMergeTypes | Provided merge types of `CardinalityEstimator`.
  SplitBrainMergeTypes.CollectionMergeTypes | Provided merge types of collections (`ISet` and `IList`).
  SplitBrainMergeTypes.MapMergeTypes | Provided merge types of `IMap`.
  SplitBrainMergeTypes.MultiMapMergeTypes | Provided merge types of `MultiMap`.
  SplitBrainMergeTypes.QueueMergeTypes | Provided merge types of `IQueue`.
  SplitBrainMergeTypes.ReplicatedMapMergeTypes | Provided merge types of `ReplicatedMap`.
  SplitBrainMergeTypes.RingbufferMergeTypes | Provided merge types of `Ringbuffer`.
  SplitBrainMergeTypes.ScheduledExecutorMergeTypes | Provided merge types of `IScheduledExecutorService`.

- Class Summary
  Class | Description
  --- | ---
  DiscardMergePolicy<V,T extends MergingValue<V>> | Merges only entries from the destination data structure and discards all entries from the source data structure.
  ExpirationTimeMergePolicy<V,T extends MergingExpirationTime<V>> | Merges data structure entries from source to destination data structure if the source entry will expire later than the destination entry.
  HigherHitsMergePolicy<V,T extends MergingHits<V>> | Merges data structure entries from source to destination data structure if the source entry has more hits than the destination one.
  HyperLogLogMergePolicy | Only available for HyperLogLog backed `CardinalityEstimator`.
  LatestAccessMergePolicy<V,T extends MergingLastAccessTime<V>> | Merges data structure entries from source to destination data structure if the source entry has been accessed more recently than the destination entry.
  LatestUpdateMergePolicy<V,T extends MergingLastUpdateTime<V>> | Merges data structure entries from source to destination data structure if the source entry was updated more frequently than the destination entry.
  PassThroughMergePolicy<V,T extends MergingValue<V>> | Merges data structure entries from source to destination directly unless the merging entry is `null`.
  PutIfAbsentMergePolicy<V,T extends MergingValue<V>> | Merges data structure entries from source to destination if they don't exist in the destination data structure.
  RingbufferMergeData | A ringbuffer implementation holding data involved in split-brain healing.
  RingbufferMergeDataReadOnlyIterator<E> | Read-only iterator over items in a provided `RingbufferMergeData`.
  SplitBrainMergePolicyProvider | A provider for `SplitBrainMergePolicy` instances.
  SplitBrainMergeTypes | Collection of interfaces which define the provided merge types for each data structure.

## Package com.hazelcast.spi.merge Description

This package contains interfaces and classes of the split-brain merging SPI.

Since:
  3.10

Copyright © 2018. All rights reserved.