public class MaxSizeChecker extends Object
MaxSizeConfig.MaxSizePolicy
to start eviction process.com.hazelcast.map.eviction.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(int maxSizeFromConfig)
used when deciding evictable or not.
|
public MaxSizeChecker(MapServiceContext mapServiceContext)
public MaxSizeChecker(MemoryInfoAccessor memoryInfoAccessor, MapServiceContext mapServiceContext)
public boolean checkEvictable(MapContainer mapContainer, int partitionId)
public static int getApproximateMaxSize(int maxSizeFromConfig)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.