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.operation |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.merge |
Contains out-of-the-box merge policies for
ICache . |
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 |
ICacheRecordStore.merge(CacheEntryView<Data,Data> cacheEntryView,
CacheMergePolicy mergePolicy,
String caller,
String origin,
int completionId,
CallerProvenance callerProvenance)
Merges the given
CacheEntryView via the given CacheMergePolicy . |
CacheRecord |
AbstractCacheRecordStore.merge(CacheEntryView<Data,Data> cacheEntryView,
CacheMergePolicy mergePolicy,
String caller,
String origin,
int completionId,
CallerProvenance callerProvenance) |
Constructor and Description |
---|
CacheLegacyMergeOperation(String name,
Data key,
CacheEntryView<Data,Data> entryView,
CacheMergePolicy policy) |
Modifier and Type | Class and Description |
---|---|
class |
HigherHitsCacheMergePolicy
Merges cache entries from source to destination cache if the source entry
has more hits than the destination one.
|
class |
LatestAccessCacheMergePolicy
Merges cache entries from source to destination cache if the source entry
has been accessed more recently than the destination entry.
|
class |
PassThroughCacheMergePolicy
Merges cache entries from source to destination directly unless the merging entry is
null . |
class |
PutIfAbsentCacheMergePolicy
Merges cache entries from source to destination if they don't exist in the destination cache.
|
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.