private static class MethodTraceAspect.TraceBucket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private MethodTraceAspect.TraceData |
allOthers
Trace data object representing all non-transition trace data
|
private long |
elapsed
Elapsed time spent net of called (traced) methods (own time)
|
private java.util.SortedSet<MethodTraceAspect.TraceData> |
traces
Trace data sorted in descendig order by full elapsed time of each call
|
Modifier | Constructor and Description |
---|---|
private |
TraceBucket() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addTrace(MethodTraceAspect.TraceData trace,
boolean transition)
Add a trace and add its own time to the aggregate own time for this analysis bucket.
|
(package private) long |
getElapsed()
Get the aggregate own times of all traces in this analysis bucket.
|
(package private) java.util.SortedSet<MethodTraceAspect.TraceData> |
getTraces()
Get the set of traces in this analysis bucket, sorted in descending order by full,
elapsed times.
|
private final java.util.SortedSet<MethodTraceAspect.TraceData> traces
private long elapsed
private MethodTraceAspect.TraceData allOthers
void addTrace(MethodTraceAspect.TraceData trace, boolean transition)
trace
- Trace data for a method call.transition
- true
if the method call captured by this trace represents a call into
this bucket from another or from an untraced caller, else false
.java.util.SortedSet<MethodTraceAspect.TraceData> getTraces()
long getElapsed()