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
|
com.hazelcast.spi.impl.merge |
This package contains split-brain related classes.
|
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 |
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) |
CacheRecord |
ICacheRecordStore.merge(SplitBrainMergeTypes.CacheMergeTypes mergingEntry,
SplitBrainMergePolicy<Data,SplitBrainMergeTypes.CacheMergeTypes> mergePolicy,
CallerProvenance callerProvenance)
Merges the given
SplitBrainMergeTypes.CacheMergeTypes via the given SplitBrainMergePolicy . |
CacheRecord |
AbstractCacheRecordStore.merge(SplitBrainMergeTypes.CacheMergeTypes mergingEntry,
SplitBrainMergePolicy<Data,SplitBrainMergeTypes.CacheMergeTypes> mergePolicy,
CallerProvenance callerProvenance) |
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,
Data expiryPolicy,
CacheRecord<Object,Data> record)
Creates a
DefaultCacheEntryView instance. |
static CacheEntryView<Data,Data> |
CacheEntryViews.createEntryView(Data key,
Data expiryPolicy,
CacheRecord record) |
static CacheEntryView<Data,Data> |
CacheEntryViews.createEntryView(Data key,
Data value,
Data expiryPolicy,
CacheRecord record,
CacheEntryViews.CacheEntryViewType cacheEntryViewType)
Creates a
CacheEntryView instance. |
static CacheEntryView<Data,Data> |
CacheEntryViews.createLazyEntryView(Data key,
Data value,
Data expiryPolicy,
CacheRecord record)
Creates a
LazyCacheEntryView instance. |
protected Object |
AbstractCacheRecordStore.extractExpiryPolicyOfRecord(CacheRecord record) |
protected javax.cache.expiry.ExpiryPolicy |
AbstractCacheRecordStore.getExpiryPolicy(CacheRecord record,
javax.cache.expiry.ExpiryPolicy expiryPolicy) |
void |
ICacheRecordStore.putRecord(Data key,
CacheRecord record,
boolean updateJournal)
Associates the specified record with the specified key.
|
void |
AbstractCacheRecordStore.putRecord(Data key,
CacheRecord record,
boolean updateJournal) |
protected Data |
CacheRecordStore.recordToData(CacheRecord record) |
protected Object |
CacheRecordStore.recordToValue(CacheRecord record) |
protected void |
AbstractCacheRecordStore.updateRecord(Data key,
CacheRecord record,
long expiryTime,
long now,
String origin) |
protected void |
AbstractCacheRecordStore.updateRecordWithExpiry(Data key,
CacheRecord record,
javax.cache.expiry.ExpiryPolicy expiryPolicy,
long now,
String source) |
Modifier and Type | Field and Description |
---|---|
protected CacheRecord |
KeyBasedCacheOperation.backupRecord |
Modifier and Type | Method and Description |
---|---|
protected void |
CacheOperation.publishWanUpdate(Data dataKey,
CacheRecord record) |
protected void |
CacheOperation.publishWanUpdate(Data dataKey,
Data dataValue,
CacheRecord record) |
protected void |
CacheOperation.publishWanUpdate(Data dataKey,
Data dataValue,
Data dataExpiryPolicy,
CacheRecord record) |
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,E>
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) |
Modifier and Type | Method and Description |
---|---|
static <R extends CacheRecord> |
MergingValueFactory.createMergingEntry(SerializationService serializationService,
Data key,
Data value,
R record) |
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.