Package | Description |
---|---|
com.hazelcast.cache |
This package contains the public API extension for Hazelcast JCache,
the Hazelcast implementation of the JSR-107 commonly referred to as JCache.
|
com.hazelcast.cache.impl |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.impl.merge.policy |
This package contains merge policy internal interfaces and functionality for Hazelcast cache.
|
com.hazelcast.cache.impl.operation |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.merge |
This package contains out of the box merge policies.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StorageTypeAwareCacheMergePolicy
Marker interface for indicating that key and value wrapped by
CacheEntryView will be not converted to their original types. |
Modifier and Type | Method and Description |
---|---|
CacheMergePolicy |
BuiltInCacheMergePolicies.newInstance()
Create a new instance of
CacheMergePolicy . |
Modifier and Type | Method and Description |
---|---|
Class<? extends CacheMergePolicy> |
BuiltInCacheMergePolicies.getImplementationClass() |
Modifier and Type | Method and Description |
---|---|
CacheRecord |
SplitBrainAwareCacheRecordStore.merge(CacheEntryView<Data,Data> cacheEntryView,
CacheMergePolicy mergePolicy)
Merges given record (inside given
CacheEntryView ) with the existing record as given CacheMergePolicy . |
CacheRecord |
CacheRecordStore.merge(CacheEntryView<Data,Data> cacheEntryView,
CacheMergePolicy mergePolicy) |
Modifier and Type | Method and Description |
---|---|
CacheMergePolicy |
CacheMergePolicyProvider.getMergePolicy(String className) |
Constructor and Description |
---|
CacheMergeOperation(String name,
Data key,
CacheEntryView<Data,Data> entryView,
CacheMergePolicy policy) |
Modifier and Type | Class and Description |
---|---|
class |
HigherHitsCacheMergePolicy
`HigherHitsCacheMergePolicy` merges cache entry from source to destination cache
if source entry has more hits than the destination one.
|
class |
LatestAccessCacheMergePolicy
`LatestAccessCacheMergePolicy` merges cache entry from source to destination cache
if source entry has been accessed more recently than the destination entry.
|
class |
PassThroughCacheMergePolicy
`PassThroughCacheMergePolicy` policy merges cache entry from source to destination directly.
|
class |
PutIfAbsentCacheMergePolicy
`PassThroughCacheMergePolicy` policy merges cache entry from source to destination
if it does not exist in the destination cache.
|
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.