public static class RamUsageTester.Accumulator extends Object
Constructor and Description |
---|
Accumulator() |
Modifier and Type | Method and Description |
---|---|
long |
accumulateArray(Object array,
long shallowSize,
List<Object> values,
Collection<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(Object o,
long shallowSize,
Map<Field,Object> fieldValues,
Collection<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(Object o, long shallowSize, Map<Field,Object> fieldValues, Collection<Object> queue)
queue
and return the shallow size of this object.public long accumulateArray(Object array, long shallowSize, List<Object> values, Collection<Object> queue)
queue
and return the shallow size of this array.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.