org.ehcache.impl.internal.sizeof
Class NoopSizeOfEngine

java.lang.Object
  extended by org.ehcache.impl.internal.sizeof.NoopSizeOfEngine
All Implemented Interfaces:
SizeOfEngine

public class NoopSizeOfEngine
extends java.lang.Object
implements SizeOfEngine


Constructor Summary
NoopSizeOfEngine()
           
 
Method Summary
<K,V> long
sizeof(K key, Store.ValueHolder<V> holder)
          Size of the objects on Heap including the overhead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopSizeOfEngine

public NoopSizeOfEngine()
Method Detail

sizeof

public <K,V> long sizeof(K key,
                         Store.ValueHolder<V> holder)
Description copied from interface: SizeOfEngine
Size of the objects on Heap including the overhead

Specified by:
sizeof in interface SizeOfEngine
Parameters:
key - key to be sized
holder - value holder to be sized
Returns:
size of the objects on heap including the overhead