public class EntryCountCacheMaxSizeChecker extends Object implements MaxSizeChecker
EvictionConfig.MaxSizePolicy.ENTRY_COUNT| Constructor and Description |
|---|
EntryCountCacheMaxSizeChecker(int size,
CacheRecordMap cacheRecordMap,
int partitionCount) |
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateMaxPartitionSize(int maxEntryCount,
int partitionCount) |
boolean |
isReachedToMaxSize()
Checks the state to see if it has reached its maximum configured size
EvictionConfig.MaxSizePolicy |
public EntryCountCacheMaxSizeChecker(int size,
CacheRecordMap cacheRecordMap,
int partitionCount)
public static int calculateMaxPartitionSize(int maxEntryCount,
int partitionCount)
public boolean isReachedToMaxSize()
MaxSizeCheckerEvictionConfig.MaxSizePolicyisReachedToMaxSize in interface MaxSizeCheckertrue if maximum size has been reached, false otherwiseCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.