Class InstrumentationObjectSizeOfStrategy

java.lang.Object
org.apache.wicket.util.instrument.InstrumentationObjectSizeOfStrategy
All Implemented Interfaces:
org.apache.wicket.core.util.lang.WicketObjects.IObjectSizeOfStrategy

public class InstrumentationObjectSizeOfStrategy extends Object implements org.apache.wicket.core.util.lang.WicketObjects.IObjectSizeOfStrategy
Object size of strategy that is based on instrumentation.
Author:
eelcohillenius
  • Constructor Details

  • Method Details

    • sizeOf

      public long sizeOf(Serializable obj)
      Calculates full size of object iterating over its hierarchy graph.
      Specified by:
      sizeOf in interface org.apache.wicket.core.util.lang.WicketObjects.IObjectSizeOfStrategy
      Parameters:
      obj - object to calculate size of
      Returns:
      object size
      See Also:
      • WicketObjects.IObjectSizeOfStrategy.sizeOf(java.io.Serializable)