public interface Measurable
| Modifier and Type | Method and Description |
|---|---|
void |
addChildrenTo(MeasurementStack stack)
Adds the children that should be part of the measurement to the stack
|
default long |
shallowSize(MemoryMeterStrategy strategy)
Allow the implementation to pre-compute and cache the
Measurable shallow size. |
default long shallowSize(MemoryMeterStrategy strategy)
Measurable shallow size.strategy - the MemoryMeterStrategyvoid addChildrenTo(MeasurementStack stack)
stack - the stack to which the children must be addedCopyright © 2023. All rights reserved.