com.hazelcast.cache.impl.nearcache.impl.maxsize
public class EntryCountNearCacheMaxSizeChecker extends Object implements MaxSizeChecker
EvictionConfig.MaxSizePolicy.ENTRY_COUNT
.
Check if near-cache size is reached to max-size or not.MaxSizeChecker
Constructor and Description |
---|
EntryCountNearCacheMaxSizeChecker(int size,
NearCacheRecordMap nearCacheRecordMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReachedToMaxSize()
Checks the state to see if it has reached its maximum configured size
EvictionConfig.MaxSizePolicy |
public EntryCountNearCacheMaxSizeChecker(int size, NearCacheRecordMap nearCacheRecordMap)
public boolean isReachedToMaxSize()
MaxSizeChecker
EvictionConfig.MaxSizePolicy
isReachedToMaxSize
in interface MaxSizeChecker
true
if maximum size has been reached, false
otherwiseCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.