public class NearCacheSizeEstimator extends Object implements SizeEstimator<NearCacheRecord>
REFERENCE_COST_IN_BYTES
Constructor and Description |
---|
NearCacheSizeEstimator() |
public long calculateSize(NearCacheRecord record)
calculateSize
in interface SizeEstimator<NearCacheRecord>
public long getSize()
getSize
in interface SizeEstimator<NearCacheRecord>
public void add(long size)
add
in interface SizeEstimator<NearCacheRecord>
public void reset()
reset
in interface SizeEstimator<NearCacheRecord>
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.