Package | Description |
---|---|
com.hazelcast.map.impl |
Contains implementation specific classes of
com.hazelcast.map package. |
com.hazelcast.map.impl.operation |
Package for map operations.
|
com.hazelcast.map.impl.recordstore | |
com.hazelcast.map.merge |
Contains out-of-the-box merge policies for
IMap . |
Modifier and Type | Method and Description |
---|---|
static <K,V> EntryView<K,V> |
EntryViews.createLazyEntryView(K key,
V value,
Record record,
SerializationService serializationService,
MapMergePolicy mergePolicy) |
static <K,V> EntryView<K,V> |
EntryViews.toLazyEntryView(EntryView<K,V> entryView,
SerializationService serializationService,
MapMergePolicy mergePolicy) |
Modifier and Type | Method and Description |
---|---|
MapOperation |
WANAwareOperationProvider.createLegacyMergeOperation(String name,
EntryView<Data,Data> mergingEntry,
MapMergePolicy policy,
boolean disableWanReplicationEvent) |
MapOperation |
MapOperationProvider.createLegacyMergeOperation(String name,
EntryView<Data,Data> entryView,
MapMergePolicy policy,
boolean disableWanReplicationEvent) |
MapOperation |
DefaultMapOperationProvider.createLegacyMergeOperation(String name,
EntryView<Data,Data> mergingEntry,
MapMergePolicy policy,
boolean disableWanReplicationEvent) |
Constructor and Description |
---|
LegacyMergeOperation(String name,
EntryView<Data,Data> mergingEntry,
MapMergePolicy policy,
boolean disableWanReplicationEvent) |
Modifier and Type | Method and Description |
---|---|
boolean |
RecordStore.merge(Data dataKey,
EntryView mergingEntry,
MapMergePolicy mergePolicy) |
boolean |
DefaultRecordStore.merge(Data key,
EntryView mergingEntry,
MapMergePolicy mergePolicy) |
boolean |
RecordStore.merge(Data dataKey,
EntryView mergingEntry,
MapMergePolicy mergePolicy,
CallerProvenance provenance)
Merges the given
EntryView via the given MapMergePolicy . |
boolean |
DefaultRecordStore.merge(Data key,
EntryView mergingEntry,
MapMergePolicy mergePolicy,
CallerProvenance provenance) |
Modifier and Type | Class and Description |
---|---|
class |
HigherHitsMapMergePolicy
Merges map entries from source to destination map if the source entry
has more hits than the destination one.
|
class |
IgnoreMergingEntryMapMergePolicy
Ignores the merging entry while collecting merge-needed entries on merging side.
|
class |
LatestUpdateMapMergePolicy
Merges map entries from source to destination map if the source entry
was updated more recently than the destination entry.
|
class |
PassThroughMergePolicy
Merges map entries from source to destination directly unless the merging entry is
null . |
class |
PutIfAbsentMapMergePolicy
Merges map entries from source to destination if they don't exist in the destination map.
|
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.