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

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

public static interface WicketObjects.IObjectSizeOfStrategy

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


Method Summary
 long sizeOf(java.io.Serializable object)
          Computes the size of an object.
 

Method Detail

sizeOf

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

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


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