| Package | Description |
|---|---|
| com.hazelcast.concurrent.atomiclong |
This package contains IAtomicLong functionality for Hazelcast.
The IAtomicLong is the distributed version of the AtomicLong. |
| com.hazelcast.concurrent.atomiclong.operations |
This package contains the operations on the IAtomicLong.
|
| com.hazelcast.concurrent.atomicreference |
This package contains IAtomicReferece functionality for Hazelcast.
The IAtomicReference is the distributed version of the AtomicReference. |
| com.hazelcast.concurrent.atomicreference.operations |
This package contains the operations on the IAtomicReference.
|
| com.hazelcast.spi.impl.merge | |
| com.hazelcast.spi.merge |
This package contains out-of-the-box split-brain merge policies.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
AtomicLongContainer.merge(MergingValue<Long> mergingValue,
SplitBrainMergePolicy mergePolicy,
boolean isExistingContainer,
SerializationService serializationService)
Merges the given
MergingValue via the given SplitBrainMergePolicy. |
| Constructor and Description |
|---|
MergeOperation(String name,
SplitBrainMergePolicy mergePolicy,
long mergingValue) |
| Modifier and Type | Method and Description |
|---|---|
Data |
AtomicReferenceContainer.merge(MergingValue<Data> mergingValue,
SplitBrainMergePolicy mergePolicy,
boolean isExistingContainer,
SerializationService serializationService)
Merges the given
MergingValue via the given SplitBrainMergePolicy. |
| Constructor and Description |
|---|
MergeOperation(String name,
SplitBrainMergePolicy mergePolicy,
Data mergingValue) |
| Modifier and Type | Class and Description |
|---|---|
class |
com.hazelcast.spi.impl.merge.AbstractSplitBrainMergePolicy
Abstract implementation of
SplitBrainMergePolicy for the out-of-the-box merge policies. |
| 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 |
HyperLogLogMergePolicy
Only available for HyperLogLog backed
CardinalityEstimator. |
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 Hazelcast, Inc.. All rights reserved.