public interface Evictor
RecordStore
.
When the RecordStore
needs to be evicted according to EvictionChecker.checkEvictionPossible(com.hazelcast.map.impl.recordstore.RecordStore)
,
Evictor
removes records from RecordStore
.Modifier and Type | Method and Description |
---|---|
int |
findRemovalSize(RecordStore recordStore)
Find size to evict from a record-store.
|
EvictionChecker |
getEvictionChecker()
Get eviction checker for this
Evictor |
void |
removeSize(int removalSize,
RecordStore recordStore)
Remove supplied number of elements from record-store.
|
int findRemovalSize(RecordStore recordStore)
recordStore
- the recordStorevoid removeSize(int removalSize, RecordStore recordStore)
removalSize
- supplied size to remove.recordStore
- the recordStoreEvictionChecker getEvictionChecker()
Evictor
EvictionChecker
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.