|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcloudtrace.instrument.impl.MilliSpan
cloudtrace.instrument.impl.RootMilliSpan
public class RootMilliSpan
Span that roots the span tree in a process, but perhaps not the whole trace.
Field Summary |
---|
Fields inherited from interface cloudtrace.instrument.Span |
---|
ROOT_SPAN_ID |
Constructor Summary | |
---|---|
RootMilliSpan(java.lang.String description,
long traceId,
long spanId,
long parentId)
|
Method Summary | |
---|---|
long |
parentId()
Return the pseudo-unique (random) number of the parent span, returns ROOT_SPAN_ID if this is the root span |
long |
traceId()
A pseudo-unique (random) number assigned to the trace associated with this span |
Methods inherited from class cloudtrace.instrument.impl.MilliSpan |
---|
accumulatedMillis, child, currentTimeMillis, data, description, getData, getStartTimeMillis, getStopTimeMillis, parent, running, spanId, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RootMilliSpan(java.lang.String description, long traceId, long spanId, long parentId)
Method Detail |
---|
public long traceId()
Span
traceId
in interface Span
traceId
in class MilliSpan
public long parentId()
Span
parentId
in interface Span
parentId
in class MilliSpan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |