Package | Description |
---|---|
com.hazelcast.spi.impl.merge | |
com.hazelcast.spi.merge |
This package contains interfaces and classes of the split-brain merging SPI.
|
Modifier and Type | Class and Description |
---|---|
class |
com.hazelcast.spi.impl.merge.AbstractSplitBrainMergePolicy<V,T extends MergingValue<V>,R>
Abstract implementation of
SplitBrainMergePolicy for the out-of-the-box merge policies. |
Modifier and Type | Class and Description |
---|---|
class |
DiscardMergePolicy<V,T extends MergingValue<V>>
Merges only entries from the destination data structure and discards all entries from the source data structure.
|
class |
ExpirationTimeMergePolicy<V,T extends MergingValue<V> & MergingExpirationTime>
Merges data structure entries from source to destination data structure if the source entry
will expire later than the destination entry.
|
class |
HigherHitsMergePolicy<V,T extends MergingValue<V> & MergingHits>
Merges data structure entries from source to destination data structure if the source entry
has more hits than the destination one.
|
class |
HyperLogLogMergePolicy
Only available for HyperLogLog backed
CardinalityEstimator . |
class |
LatestAccessMergePolicy<V,T extends MergingValue<V> & MergingLastAccessTime>
Merges data structure entries from source to destination data structure if the source entry
has been accessed more recently than the destination entry.
|
class |
LatestUpdateMergePolicy<V,T extends MergingValue<V> & MergingLastUpdateTime>
Merges data structure entries from source to destination data structure if the source entry
was updated more frequently than the destination entry.
|
class |
PassThroughMergePolicy<V,T extends MergingValue<V>>
Merges data structure entries from source to destination directly unless the merging entry is
null . |
class |
PutIfAbsentMergePolicy<V,T extends MergingValue<V>>
Merges data structure entries from source to destination if they don't exist in the destination data structure.
|
Modifier and Type | Method and Description |
---|---|
SplitBrainMergePolicy |
SplitBrainMergePolicyProvider.getMergePolicy(String className)
Resolves the
SplitBrainMergePolicy class by its classname. |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.