com.hazelcast.map.impl.eviction
Class EvictionOperator
java.lang.Object
com.hazelcast.map.impl.eviction.EvictionOperator
public final class EvictionOperator
- extends Object
Eviction helper methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static EvictionOperator create(MapServiceContext mapServiceContext)
create
public static EvictionOperator create(MemoryInfoAccessor memoryInfoAccessor,
MapServiceContext mapServiceContext)
setMapServiceContext
public void setMapServiceContext(MapServiceContext mapServiceContext)
setMaxSizeChecker
public void setMaxSizeChecker(MaxSizeChecker maxSizeChecker)
getMaxSizeChecker
public MaxSizeChecker getMaxSizeChecker()
removeEvictableRecords
public void removeEvictableRecords(RecordStore recordStore,
int evictableSize,
MapConfig mapConfig,
boolean backup)
fireEvent
public void fireEvent(Data key,
Object value,
String mapName,
MapServiceContext mapServiceContext)
evictableSize
public int evictableSize(int currentPartitionSize,
MapConfig mapConfig)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.