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 |
calculateSize(T object) |
long |
getSize() |
void |
reset() |
long getSize()
void add(long size)
long calculateSize(T object)
void reset()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.