Package org.apache.wicket.core.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
sizeOf(Serializable object)
Computes the size of an object.
-
-
-
Method Detail
-
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.
-
-