public interface ReplicatedRecordStore
String getName()
int getPartitionId()
void evict(Object key)
Object putWithVersion(Object key, Object value, long ttl, TimeUnit timeUnit, boolean incrementHits, long version)
boolean containsKey(Object key)
boolean containsValue(Object value)
ReplicatedRecord getReplicatedRecord(Object key)
Set keySet(boolean lazy)
Collection values(boolean lazy)
Collection values(Comparator comparator)
Set entrySet(boolean lazy)
int size()
void clear()
void clearWithVersion(long version)
void reset()
boolean isEmpty()
void destroy()
long getVersion()
boolean isStale(long version)
Iterator<ReplicatedRecord> recordIterator()
void putRecords(Collection<RecordMigrationInfo> records, long version)
InternalReplicatedMapStorage getStorage()
ScheduledEntry<Object,Object> cancelTtlEntry(Object key)
boolean isLoaded()
void setLoaded(boolean loaded)
boolean merge(SplitBrainMergeTypes.ReplicatedMapMergeTypes mergingEntry, SplitBrainMergePolicy<Object,SplitBrainMergeTypes.ReplicatedMapMergeTypes> mergePolicy)
SplitBrainMergeTypes.ReplicatedMapMergeTypes
via the given SplitBrainMergePolicy
.mergingEntry
- the SplitBrainMergeTypes.ReplicatedMapMergeTypes
instance to mergemergePolicy
- the SplitBrainMergePolicy
instance to applytrue
if merge is applied, otherwise false
boolean merge(Object key, ReplicatedMapEntryView entryView, ReplicatedMapMergePolicy mergePolicy)
ReplicatedMapEntryView
via the given ReplicatedMapMergePolicy
.entryView
- the ReplicatedMapEntryView
instance to mergemergePolicy
- the ReplicatedMapMergePolicy
instance to applytrue
if merge is applied, otherwise false
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.