public class AllocationCounter extends Object
Modifier and Type | Field and Description |
---|---|
static Field |
COUNT_FIELD |
static Field |
SIZE_FIELD |
Modifier | Constructor and Description |
---|---|
protected |
AllocationCounter(String name,
AllocationCounter next) |
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
String |
getName() |
AllocationCounter |
getNext() |
long |
getSize() |
void |
incrementCount() |
void |
incrementSize(long inc) |
public static final Field COUNT_FIELD
public static final Field SIZE_FIELD
protected AllocationCounter(String name, AllocationCounter next)
public final void incrementCount()
public final void incrementSize(long inc)
public String getName()
public AllocationCounter getNext()
public long getCount()
public long getSize()