public class HiDensityNativeMemoryCacheRecordMap extends SampleableEvictableHiDensityRecordMap<HiDensityNativeMemoryCacheRecord> implements SampleableHiDensityCacheRecordMap<HiDensityNativeMemoryCacheRecord>
SampleableEvictableHiDensityRecordMap.EvictableSamplingEntrySampleableElasticHashMap.IterableSamplingEntry, SampleableElasticHashMap.SamplingEntryBinaryElasticHashMap.KeyIter, BinaryElasticHashMap.MapEntry, BinaryElasticHashMap.RandomKeyIter, BinaryElasticHashMap.RandomValueIter, BinaryElasticHashMap.ValueIterexpirationIterator, keyHolder, MIN_EVICTION_ELEMENT_COUNT, ONE_HUNDRED_PERCENTrecordProcessor, storageInfoaccessor, HEADER_LENGTH_IN_BYTES, memoryBlockProcessor| Constructor and Description |
|---|
HiDensityNativeMemoryCacheRecordMap(int initialCapacity,
HiDensityRecordProcessor cacheRecordProcessor,
HiDensityStorageInfo cacheInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry |
createSamplingEntry(int slot) |
protected void |
decreaseEntryCount() |
protected void |
decreaseEntryCount(int entryCount) |
com.hazelcast.cache.impl.CacheEntryIterationResult |
fetchEntries(int nextTableIndex,
int size) |
com.hazelcast.cache.impl.CacheKeyIterationResult |
fetchKeys(int nextTableIndex,
int size) |
protected void |
increaseEntryCount() |
void |
setEntryCounting(boolean enable) |
sampleforceEvict, onEvict, scanByNumberToDeleteExpired, tryEvictclear, delete, iterator, onOome, put, putIfAbsent, remove, remove, setgetRandomSamplescapacity, containsKey, containsValue, dispose, entryIter, entryIter, entrySet, get, getIfSameKey, getNativeKeyAddress, isEmpty, keyIter, keySet, loadFromOffHeapHeader, newRandomEvictionKeyIterator, newRandomEvictionValueIterator, putAll, readV, replace, replace, size, storeHeaderOffHeap, toString, valueIter, valueIter, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic HiDensityNativeMemoryCacheRecordMap(int initialCapacity,
HiDensityRecordProcessor cacheRecordProcessor,
HiDensityStorageInfo cacheInfo)
public void setEntryCounting(boolean enable)
setEntryCounting in interface com.hazelcast.cache.impl.record.CacheRecordMap<com.hazelcast.nio.serialization.Data,HiDensityNativeMemoryCacheRecord>protected void increaseEntryCount()
increaseEntryCount in class DefaultHiDensityRecordMap<HiDensityNativeMemoryCacheRecord>protected void decreaseEntryCount()
decreaseEntryCount in class DefaultHiDensityRecordMap<HiDensityNativeMemoryCacheRecord>protected void decreaseEntryCount(int entryCount)
decreaseEntryCount in class DefaultHiDensityRecordMap<HiDensityNativeMemoryCacheRecord>public com.hazelcast.cache.impl.CacheKeyIterationResult fetchKeys(int nextTableIndex,
int size)
fetchKeys in interface com.hazelcast.cache.impl.record.CacheRecordMap<com.hazelcast.nio.serialization.Data,HiDensityNativeMemoryCacheRecord>public com.hazelcast.cache.impl.CacheEntryIterationResult fetchEntries(int nextTableIndex,
int size)
fetchEntries in interface com.hazelcast.cache.impl.record.CacheRecordMap<com.hazelcast.nio.serialization.Data,HiDensityNativeMemoryCacheRecord>protected SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry createSamplingEntry(int slot)
createSamplingEntry in class SampleableEvictableHiDensityRecordMap<HiDensityNativeMemoryCacheRecord>Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.