T
- the type of object which's size going to be estimated.public interface SizeEstimator<T>
Modifier and Type | Method and Description |
---|---|
void |
add(long size) |
long |
getCost(T record) |
long |
getSize() |
void |
reset() |
long getSize()
void add(long size)
long getCost(T record)
void reset()
Copyright © 2014 Hazelcast, Inc.. All rights reserved.