org.ehcache.core.spi.sizeof
Interface SizeOfEngine


public interface SizeOfEngine

SizeOf engines are used to calculate the size of objects.


Method Summary
<K,V> long
sizeof(K key, Store.ValueHolder<V> holder)
          Size of the objects on Heap including the overhead
 

Method Detail

sizeof

<K,V> long sizeof(K key,
                  Store.ValueHolder<V> holder)
            throws LimitExceededException
Size of the objects on Heap including the overhead

Parameters:
key - key to be sized
holder - value holder to be sized
Returns:
size of the objects on heap including the overhead
Throws:
LimitExceededException