public interface SplitBrainAwareCacheRecordStore extends ICacheRecordStore
ICacheRecordStore
implementations
which are handled in split-brain.CacheRecordStore
,
CacheEntryView
,
CacheMergePolicy
UNIT_PERCENTAGE
Modifier and Type | Method and Description |
---|---|
CacheRecord |
merge(CacheEntryView<Data,Data> cacheEntryView,
CacheMergePolicy mergePolicy)
Merges given record (inside given
CacheEntryView ) with the existing record as given CacheMergePolicy . |
clear, close, contains, destroy, evictIfRequired, fetchEntries, fetchKeys, get, getAll, getAndPut, getAndRemove, getAndReplace, getCacheStats, getConfig, getName, getObjectNamespace, getReadOnlyRecords, getRecord, init, invoke, isWanReplicationEnabled, loadAll, put, putIfAbsent, putRecord, remove, remove, removeAll, removeRecord, replace, replace, size
CacheRecord merge(CacheEntryView<Data,Data> cacheEntryView, CacheMergePolicy mergePolicy)
CacheEntryView
) with the existing record as given CacheMergePolicy
.cacheEntryView
- the CacheEntryView
instance that wraps key/value for merging and existing entrymergePolicy
- the CacheMergePolicy
instance for handling merge policyCacheRecord
if merge is applied, otherwise null
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.