public static class RamUsageTester.Accumulator
extends java.lang.Object
| Constructor and Description |
|---|
Accumulator() |
| Modifier and Type | Method and Description |
|---|---|
long |
accumulateArray(java.lang.Object array,
long shallowSize,
java.util.List<java.lang.Object> values,
java.util.Collection<java.lang.Object> queue)
Accumulate transitive references for the provided values of the given
array into
queue and return the shallow size of this array. |
long |
accumulateObject(java.lang.Object o,
long shallowSize,
java.util.Map<java.lang.reflect.Field,java.lang.Object> fieldValues,
java.util.Collection<java.lang.Object> queue)
Accumulate transitive references for the provided fields of the given
object into
queue and return the shallow size of this object. |
public long accumulateObject(java.lang.Object o,
long shallowSize,
java.util.Map<java.lang.reflect.Field,java.lang.Object> fieldValues,
java.util.Collection<java.lang.Object> queue)
queue and return the shallow size of this object.public long accumulateArray(java.lang.Object array,
long shallowSize,
java.util.List<java.lang.Object> values,
java.util.Collection<java.lang.Object> queue)
queue and return the shallow size of this array.Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.