public class Invocation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private IntHashMap<Invocation> |
children |
private int |
count |
private long |
duration |
private int |
methodSerialNumber |
private Invocation |
parent |
private int |
recursiveDepth |
| Constructor and Description |
|---|
Invocation(int serial) |
Invocation(Invocation parent,
int serial) |
Invocation(Invocation parent,
int serial,
IntHashMap<Invocation> children) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Invocation child) |
void |
addDuration(long d) |
Invocation |
childInvocationFor(int serial) |
long |
childTime() |
(package private) Invocation |
copyWithNewSerialAndParent(int serial,
Invocation newParent) |
IntHashMap<Invocation> |
getChildren() |
int |
getCount() |
long |
getDuration() |
int |
getMethodSerialNumber() |
Invocation |
getParent() |
int |
getRecursiveDepth() |
void |
incrementCount() |
long |
selfTime() |
void |
setCount(int c) |
void |
setDuration(long d) |
void |
setParent(Invocation p) |
void |
setRecursiveDepth(int d) |
java.lang.String |
toString() |
private final int methodSerialNumber
private int recursiveDepth
private Invocation parent
private final IntHashMap<Invocation> children
private long duration
private int count
public Invocation(int serial)
public Invocation(Invocation parent, int serial)
public Invocation(Invocation parent, int serial, IntHashMap<Invocation> children)
public int getMethodSerialNumber()
public int getRecursiveDepth()
public void setRecursiveDepth(int d)
public Invocation getParent()
public void setParent(Invocation p)
public IntHashMap<Invocation> getChildren()
public long getDuration()
public void setDuration(long d)
public void addDuration(long d)
public int getCount()
public void setCount(int c)
public void incrementCount()
public Invocation childInvocationFor(int serial)
Invocation copyWithNewSerialAndParent(int serial, Invocation newParent)
public void addChild(Invocation child)
public long childTime()
public long selfTime()
public java.lang.String toString()
toString in class java.lang.Object