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.event |
Event classes to define listenters for JCache other than EntryListener
|
com.hazelcast.cache.impl.merge.entry |
This package contains merge entry 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.
|
com.hazelcast.internal.management.request |
Contains requests that made from Management Center.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
CacheEvictionPolicyComparator.compare(CacheEntryView<K,V> e1,
CacheEntryView<K,V> e2)
Compares the given
EvictableEntryView instances and returns the result. |
abstract int |
CacheEvictionPolicyComparator.compare(CacheEntryView<K,V> e1,
CacheEntryView<K,V> e2)
Compares the given
EvictableEntryView instances and returns the result. |
Object |
CacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry)
Selects one of the merging and existing cache entries to be merged.
|
Object |
CacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry)
Selects one of the merging and existing cache entries to be merged.
|
Modifier and Type | Method and Description |
---|---|
static CacheEntryView<Data,Data> |
CacheEntryViews.createDefaultEntryView(Data key,
Data value,
CacheRecord record)
Creates a
DefaultCacheEntryView instance. |
static CacheEntryView<Data,Data> |
CacheEntryViews.createEntryView(Data key,
Data value,
CacheRecord record,
CacheEntryViews.CacheEntryViewType cacheEntryViewType)
Creates a
CacheEntryView instance. |
static CacheEntryView<Data,Data> |
CacheEntryViews.createLazyEntryView(Data key,
Data value,
CacheRecord record)
Creates a
LazyCacheEntryView instance. |
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 |
---|---|
void |
CacheWanEventPublisher.publishWanReplicationUpdate(String cacheNameWithPrefix,
CacheEntryView<Data,Data> entryView)
This method will create a wrapper object using the given
CacheEntryView
and place it to wan replication queues. |
void |
CacheWanEventPublisher.publishWanReplicationUpdateBackup(String cacheNameWithPrefix,
CacheEntryView<Data,Data> entryView)
Backup operations of operations that call
this#publishWanReplicationUpdate(String, CacheEntryView)
should call this method to provide wan event backups |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCacheEntryView
Default heap based implementation of
CacheEntryView . |
class |
LazyCacheEntryView<K,V>
An implementation of
CacheEntryView
for converting key and value to object when they are touched as lazy. |
Constructor and Description |
---|
CacheMergeOperation(String name,
Data key,
CacheEntryView<Data,Data> entryView,
CacheMergePolicy policy) |
Modifier and Type | Method and Description |
---|---|
Object |
PutIfAbsentCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
PutIfAbsentCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
LatestAccessCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
LatestAccessCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
HigherHitsCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
HigherHitsCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
PassThroughCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Object |
PassThroughCacheMergePolicy.merge(String cacheName,
CacheEntryView mergingEntry,
CacheEntryView existingEntry) |
Modifier and Type | Class and Description |
---|---|
static class |
GetCacheEntryRequest.CacheBrowserEntryView |
Modifier and Type | Method and Description |
---|---|
CacheEntryView |
GetCacheEntryRequest.GetCacheEntryViewEntryProcessor.process(javax.cache.processor.MutableEntry mutableEntry,
Object... objects) |
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.