public class HDEvictorImpl
extends com.hazelcast.map.impl.eviction.EvictorImpl
Evictor for maps which have the NATIVE in-memory-format.
This evictor is sampling based, so it's independent of the size of the RecordStore (it works in constant time).
| Constructor and Description |
|---|
HDEvictorImpl(com.hazelcast.map.eviction.MapEvictionPolicy mapEvictionPolicy,
com.hazelcast.map.impl.eviction.EvictionChecker evictionChecker,
com.hazelcast.spi.partition.IPartitionService partitionService,
HiDensityStorageInfo storageInfo,
com.hazelcast.spi.NodeEngine nodeEngine,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
forceEvict(com.hazelcast.map.impl.recordstore.RecordStore recordStore) |
protected com.hazelcast.map.impl.record.Record |
getRecordFromEntryView(com.hazelcast.core.EntryView selectedEntry) |
protected Iterable<com.hazelcast.core.EntryView> |
getSamples(com.hazelcast.map.impl.recordstore.RecordStore recordStore) |
public HDEvictorImpl(com.hazelcast.map.eviction.MapEvictionPolicy mapEvictionPolicy,
com.hazelcast.map.impl.eviction.EvictionChecker evictionChecker,
com.hazelcast.spi.partition.IPartitionService partitionService,
HiDensityStorageInfo storageInfo,
com.hazelcast.spi.NodeEngine nodeEngine,
int batchSize)
protected com.hazelcast.map.impl.record.Record getRecordFromEntryView(com.hazelcast.core.EntryView selectedEntry)
getRecordFromEntryView in class com.hazelcast.map.impl.eviction.EvictorImplpublic void forceEvict(com.hazelcast.map.impl.recordstore.RecordStore recordStore)
protected Iterable<com.hazelcast.core.EntryView> getSamples(com.hazelcast.map.impl.recordstore.RecordStore recordStore)
getSamples in class com.hazelcast.map.impl.eviction.EvictorImplCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.