com.hazelcast.map.impl.eviction
public class MaxSizeChecker extends Object
MaxSizeConfig.MaxSizePolicy
to start eviction process.EvictionOperator.maxSizeChecker
Constructor and Description |
---|
MaxSizeChecker(MapServiceContext mapServiceContext) |
MaxSizeChecker(MemoryInfoAccessor memoryInfoAccessor,
MapServiceContext mapServiceContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkEvictable(MapContainer mapContainer,
int partitionId) |
static int |
getApproximateMaxSize(MaxSizeConfig maxSizeConfig,
MaxSizeConfig.MaxSizePolicy policy)
Get max size setting form config for given policy
|
public MaxSizeChecker(MapServiceContext mapServiceContext)
public MaxSizeChecker(MemoryInfoAccessor memoryInfoAccessor, MapServiceContext mapServiceContext)
public boolean checkEvictable(MapContainer mapContainer, int partitionId)
public static int getApproximateMaxSize(MaxSizeConfig maxSizeConfig, MaxSizeConfig.MaxSizePolicy policy)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.