R - type of the HiDensityRecord to be storedpublic class SampleableEvictableHiDensityRecordMap<R extends HiDensityRecord & com.hazelcast.internal.eviction.Evictable & com.hazelcast.internal.eviction.Expirable> extends EvictableHiDensityRecordMap<R> implements com.hazelcast.internal.eviction.impl.strategy.sampling.SampleableEvictableStore<com.hazelcast.nio.serialization.Data,R>
| Modifier and Type | Class and Description |
|---|---|
class |
SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry
Sampling entry that can be evictable and also it is an eviction candidate.
|
SampleableElasticHashMap.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 |
|---|
SampleableEvictableHiDensityRecordMap(int initialCapacity,
HiDensityRecordProcessor<R> recordProcessor,
HiDensityStorageInfo storageInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry |
createSamplingEntry(int slot) |
Iterable<SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry> |
sample(int sampleCount) |
forceEvict, onEvict, scanByNumberToDeleteExpired, tryEvictclear, decreaseEntryCount, decreaseEntryCount, delete, increaseEntryCount, 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, waitcompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, replace, replace, replaceAll, size, valuespublic SampleableEvictableHiDensityRecordMap(int initialCapacity,
HiDensityRecordProcessor<R> recordProcessor,
HiDensityStorageInfo storageInfo)
protected SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry createSamplingEntry(int slot)
createSamplingEntry in class SampleableElasticHashMap<R extends HiDensityRecord & com.hazelcast.internal.eviction.Evictable & com.hazelcast.internal.eviction.Expirable>public Iterable<SampleableEvictableHiDensityRecordMap.EvictableSamplingEntry> sample(int sampleCount)
sample in interface com.hazelcast.internal.eviction.impl.strategy.sampling.SampleableEvictableStore<com.hazelcast.nio.serialization.Data,R extends HiDensityRecord & com.hazelcast.internal.eviction.Evictable & com.hazelcast.internal.eviction.Expirable>Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.