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 Summary
ConstructorsConstructorDescriptionInstrumentationObjectSizeOfStrategy(Instrumentation instrumentation) Construct. -
Method Summary
Modifier and TypeMethodDescriptionlongsizeOf(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:
sizeOfin interfaceorg.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)
-