Class InstrumentationObjectSizeOfStrategy
java.lang.Object
org.apache.wicket.util.instrument.InstrumentationObjectSizeOfStrategy
- All Implemented Interfaces:
WicketObjects.IObjectSizeOfStrategy
public class InstrumentationObjectSizeOfStrategy
extends Object
implements WicketObjects.IObjectSizeOfStrategy
Object size of strategy that is based on instrumentation.
- Author:
- eelcohillenius
-
Constructor Summary
ConstructorDescriptionInstrumentationObjectSizeOfStrategy
(Instrumentation instrumentation) Construct. -
Method Summary
Modifier and TypeMethodDescriptionlong
sizeOf
(Serializable obj) Calculates full size of object iterating over its hierarchy graph.
-
Constructor Details
-
InstrumentationObjectSizeOfStrategy
Construct.- Parameters:
instrumentation
-
-
-
Method Details
-
sizeOf
Calculates full size of object iterating over its hierarchy graph.- Specified by:
sizeOf
in interfaceWicketObjects.IObjectSizeOfStrategy
- Parameters:
obj
- object to calculate size of- Returns:
- object size
- See Also:
-