public class HDStorageSCHM extends SampleableElasticHashMap<HDRecord>
SampleableElasticHashMap for Hi-Density
backed IMap.| Modifier and Type | Class and Description |
|---|---|
class |
HDStorageSCHM.LazyEntryViewFromRecord<K,V>
Internally used
EntryView implementation for sampling based eviction specific purposes. |
SampleableElasticHashMap.IterableSamplingEntry, SampleableElasticHashMap.SamplingEntryBinaryElasticHashMap.KeyIter, BinaryElasticHashMap.MapEntry, BinaryElasticHashMap.RandomKeyIter, BinaryElasticHashMap.RandomValueIter, BinaryElasticHashMap.ValueIter| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CAPACITY
Default capacity for a hash container.
|
static float |
DEFAULT_LOAD_FACTOR
Default load factor.
|
accessor, HEADER_LENGTH_IN_BYTES, memoryBlockProcessor| Constructor and Description |
|---|
HDStorageSCHM(HiDensityRecordProcessor<HDRecord> recordProcessor,
com.hazelcast.spi.serialization.SerializationService serializationService) |
| Modifier and Type | Method and Description |
|---|---|
protected <E extends SampleableElasticHashMap.SamplingEntry> |
createSamplingEntry(int slot) |
com.hazelcast.map.impl.iterator.MapEntriesWithCursor |
fetchEntries(int tableIndex,
int size) |
com.hazelcast.map.impl.iterator.MapKeysWithCursor |
fetchKeys(int tableIndex,
int size) |
getRandomSamplescapacity, clear, containsKey, containsValue, delete, dispose, entryIter, entryIter, entrySet, get, getIfSameKey, getNativeKeyAddress, isEmpty, keyIter, keySet, loadFromOffHeapHeader, newRandomEvictionKeyIterator, newRandomEvictionValueIterator, onOome, put, putAll, putIfAbsent, readV, remove, remove, replace, replace, set, size, storeHeaderOffHeap, toString, valueIter, valueIter, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, replaceAllpublic static final int DEFAULT_CAPACITY
public static final float DEFAULT_LOAD_FACTOR
public HDStorageSCHM(HiDensityRecordProcessor<HDRecord> recordProcessor, com.hazelcast.spi.serialization.SerializationService serializationService)
protected <E extends SampleableElasticHashMap.SamplingEntry> E createSamplingEntry(int slot)
createSamplingEntry in class SampleableElasticHashMap<HDRecord>public com.hazelcast.map.impl.iterator.MapKeysWithCursor fetchKeys(int tableIndex,
int size)
public com.hazelcast.map.impl.iterator.MapEntriesWithCursor fetchEntries(int tableIndex,
int size)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.