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

    Modifier and Type
    Method
    Description
    long
    Computes the size of an object.
  • Method Details

    • sizeOf

      long sizeOf(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.