org.apache.wicket.util.lang
Interface Objects.IObjectSizeOfStrategy

All Known Implementing Classes:
InstrumentationObjectSizeOfStrategy, Objects.SerializingObjectSizeOfStrategy
Enclosing class:
Objects

public static interface Objects.IObjectSizeOfStrategy

Interface that enables users to plugin the way object sizes are calculated with Wicket.


Method Summary
 long sizeOf(Object object)
          Computes the size of an object.
 

Method Detail

sizeOf

long sizeOf(Object object)
Computes the size of an object. This typically is an estimation, not an absolute accurate size.

Parameters:
object - Object to compute size of
Returns:
The size of the object in bytes.


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.