Package com.tangosol.util
Interface Sizable
public interface Sizable
The Sizable interface is implemented by types that are capable of calculating
 the memory footprint of an instance.
- Since:
 - Coherence 3.7
 - Author:
 - coh 2010.10.01
 
- 
Method Summary
Modifier and TypeMethodDescriptionintCalculate the memory footprint for this instance. 
- 
Method Details
- 
calculateSize
int calculateSize()Calculate the memory footprint for this instance. The calculation is discretionary to the implementation.Note: If utilizing
SimpleMemoryCalculator.sizeOf(Object), do not pass the instance itself as it will result in endless recursion.- Returns:
 - the memory footprint (in bytes) of this instance
 
 
 -