Package | Description |
---|---|
com.hazelcast.cache.impl |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.impl.operation |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.impl.record |
Hazelcast JSR-107 aka JCache implementation
Internal record store
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheRecordStore<R extends CacheRecord,CRM extends SampleableCacheRecordMap<Data,R>> |
class |
CacheEntryProcessorEntry<K,V,R extends CacheRecord>
This class is an implementation of
MutableEntry which is provided into
EntryProcessor.process(javax.cache.processor.MutableEntry, Object...) . |
Modifier and Type | Field and Description |
---|---|
protected R |
CacheEntryProcessorEntry.record |
protected R |
CacheEntryProcessorEntry.recordLoaded |
Modifier and Type | Method and Description |
---|---|
protected CacheRecord |
CacheRecordStore.createRecord(Object value,
long creationTime,
long expiryTime) |
CacheRecord |
ICacheRecordStore.getRecord(Data key)
Gets internal record of the store by key.
|
CacheRecord |
AbstractCacheRecordStore.getRecord(Data key) |
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) |
CacheRecord |
ICacheRecordStore.put(Data key,
Object value,
javax.cache.expiry.ExpiryPolicy expiryPolicy,
String caller,
int completionId)
Associates the specified value with the specified key in this cache,
returning an existing value if one existed.
|
CacheRecord |
ICacheRecordStore.removeRecord(Data key)
Removes the record for a key.
|
CacheRecord |
AbstractCacheRecordStore.removeRecord(Data key) |
Modifier and Type | Method and Description |
---|---|
Map<Data,CacheRecord> |
ICacheRecordStore.getReadOnlyRecords()
Returns a readonly map of the internal key value store.
|
Map<Data,CacheRecord> |
AbstractCacheRecordStore.getReadOnlyRecords() |
Modifier and Type | Method and Description |
---|---|
protected CacheEntryProcessorEntry |
CacheRecordStore.createCacheEntryProcessorEntry(Data key,
CacheRecord record,
long now,
int completionId) |
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. |
void |
ICacheRecordStore.putRecord(Data key,
CacheRecord record)
Associates the specified record with the specified key.
|
void |
AbstractCacheRecordStore.putRecord(Data key,
CacheRecord record) |
protected Data |
CacheRecordStore.recordToData(CacheRecord record) |
protected Object |
CacheRecordStore.recordToValue(CacheRecord record) |
Modifier and Type | Field and Description |
---|---|
protected CacheRecord |
AbstractCacheOperation.backupRecord |
Constructor and Description |
---|
CachePutBackupOperation(String name,
Data key,
CacheRecord cacheRecord) |
CachePutBackupOperation(String name,
Data key,
CacheRecord cacheRecord,
boolean wanOriginated) |
Constructor and Description |
---|
CachePutAllBackupOperation(String cacheNameWithPrefix,
Map<Data,CacheRecord> cacheRecords) |
Modifier and Type | Class and Description |
---|---|
class |
CacheRecordFactory<R extends CacheRecord>
Provides factory for
CacheRecord . |
interface |
CacheRecordMap<K extends Data,V extends CacheRecord>
Contract point for storing
CacheRecord s. |
interface |
SampleableCacheRecordMap<K extends Data,V extends CacheRecord> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheRecord<V>
Abstract implementation of
CacheRecord with key, value and
expiration time as internal state. |
class |
CacheDataRecord
Implementation of
CacheRecord where value has an internal serialized format. |
class |
CacheObjectRecord
Implementation of
CacheRecord which has an internal object format. |
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<Data,CacheRecord>> |
CacheRecordHashMap.tryEvict(C evictionCandidate,
EvictionListener<Data,CacheRecord> evictionListener) |
Modifier and Type | Method and Description |
---|---|
protected CacheRecord |
CacheRecordFactory.createCacheDataRecord(Data dataValue,
long creationTime,
long expiryTime) |
protected CacheRecord |
CacheRecordFactory.createCacheObjectRecord(Object objectValue,
long creationTime,
long expiryTime) |
CacheRecord |
CacheRecordHashMap.put(Data key,
CacheRecord value) |
CacheRecord |
CacheRecordHashMap.putIfAbsent(Data key,
CacheRecord value) |
CacheRecord |
CacheRecordHashMap.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
protected com.hazelcast.cache.impl.record.CacheRecordHashMap.CacheEvictableSamplingEntry |
CacheRecordHashMap.createSamplingEntry(Data key,
CacheRecord value) |
CacheRecord |
CacheRecordHashMap.put(Data key,
CacheRecord value) |
CacheRecord |
CacheRecordHashMap.putIfAbsent(Data key,
CacheRecord value) |
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<Data,CacheRecord>> |
CacheRecordHashMap.tryEvict(C evictionCandidate,
EvictionListener<Data,CacheRecord> evictionListener) |
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.