com.hazelcast.map.impl.eviction
public final class EvictionOperator extends Object
Modifier and Type | Method and Description |
---|---|
static EvictionOperator |
create(MapServiceContext mapServiceContext) |
static EvictionOperator |
create(MemoryInfoAccessor memoryInfoAccessor,
MapServiceContext mapServiceContext) |
int |
evictableSize(int currentPartitionSize,
MapConfig mapConfig) |
void |
fireEvent(Data key,
Object value,
String mapName,
MapServiceContext mapServiceContext) |
MaxSizeChecker |
getMaxSizeChecker() |
void |
removeEvictableRecords(RecordStore recordStore,
int evictableSize,
MapConfig mapConfig,
boolean backup) |
void |
setMapServiceContext(MapServiceContext mapServiceContext) |
void |
setMaxSizeChecker(MaxSizeChecker maxSizeChecker) |
public static EvictionOperator create(MapServiceContext mapServiceContext)
public static EvictionOperator create(MemoryInfoAccessor memoryInfoAccessor, MapServiceContext mapServiceContext)
public void setMapServiceContext(MapServiceContext mapServiceContext)
public void setMaxSizeChecker(MaxSizeChecker maxSizeChecker)
public MaxSizeChecker getMaxSizeChecker()
public void removeEvictableRecords(RecordStore recordStore, int evictableSize, MapConfig mapConfig, boolean backup)
public void fireEvent(Data key, Object value, String mapName, MapServiceContext mapServiceContext)
public int evictableSize(int currentPartitionSize, MapConfig mapConfig)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.