| Package | Description |
|---|---|
| com.hazelcast.spi |
Provides interfaces/classes for the Hazelcast SPI for building distributed data structures and services.
|
| com.hazelcast.spi.merge |
This package contains out-of-the-box split brain merge policies.
|
| Modifier and Type | Method and Description |
|---|---|
T |
SplitBrainAwareDataContainer.merge(SplitBrainMergeEntryView<K,V> mergingEntry,
SplitBrainMergePolicy mergePolicy)
Merges the given
SplitBrainMergeEntryView with an existing entry via the supplied SplitBrainMergePolicy. |
| Modifier and Type | Class and Description |
|---|---|
class |
DiscardMergePolicy
Merges only entries from the destination data structure and discards all entries from the source data structure.
|
class |
HigherHitsMergePolicy
Merges data structure entries from source to destination data structure if the source entry
has more hits than the destination one.
|
class |
LatestAccessMergePolicy
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
Merges data structure entries from source to destination data structure if the source entry
was updated more frequently than the destination entry.
|
class |
PassThroughMergePolicy
Merges data structure entries from source to destination directly unless the merging entry is
null. |
class |
PutIfAbsentMergePolicy
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 © 2018. All Rights Reserved.