Span instead@Deprecated public class Span extends Span implements CloudtraceSpan
| Modifier and Type | Field and Description |
|---|---|
static long |
ROOT_SPAN_ID
Deprecated.
|
| Constructor and Description |
|---|
Span(Span span)
Deprecated.
|
Span(org.apache.htrace.Span span)
Deprecated.
|
Span(org.apache.htrace.TraceScope scope)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
accumulatedMillis()
Deprecated.
Return the total amount of time elapsed since start was called, if running, or difference between stop and start
|
Span |
child(String s)
Deprecated.
Create a child span of this span with the given description
|
String |
description()
Deprecated.
Return a textual description of this span
|
Map<String,String> |
getData()
Deprecated.
Get data associated with this span (read only)
|
long |
getStartTimeMillis()
Deprecated.
Get the start time, in milliseconds
|
long |
getStopTimeMillis()
Deprecated.
Get the stop time, in milliseconds
|
Span |
parent()
Deprecated.
The parent span: returns null if this is the root span
|
long |
parentId()
Deprecated.
Return the pseudo-unique (random) number of the parent span, returns ROOT_SPAN_ID if this is the root span
|
boolean |
running()
Deprecated.
Has the span been started and not yet stopped?
|
long |
spanId()
Deprecated.
A pseudo-unique (random) number assigned to this span instance
|
void |
start()
Deprecated.
Begin gathering timing information
|
data, getScope, getSpan, stop, traceIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdata, stop, toString, traceIdpublic static final long ROOT_SPAN_ID
public Span(Span span)
public Span(org.apache.htrace.TraceScope scope)
public Span(org.apache.htrace.Span span)
public Span child(String s)
CloudtraceSpanchild in interface CloudtraceSpanpublic void start()
CloudtraceSpanstart in interface CloudtraceSpanpublic long getStartTimeMillis()
CloudtraceSpangetStartTimeMillis in interface CloudtraceSpanpublic long getStopTimeMillis()
CloudtraceSpangetStopTimeMillis in interface CloudtraceSpanpublic long accumulatedMillis()
CloudtraceSpanaccumulatedMillis in interface CloudtraceSpanpublic boolean running()
CloudtraceSpanrunning in interface CloudtraceSpanpublic String description()
CloudtraceSpandescription in interface CloudtraceSpanpublic long spanId()
CloudtraceSpanspanId in interface CloudtraceSpanpublic Span parent()
CloudtraceSpanparent in interface CloudtraceSpanpublic long parentId()
CloudtraceSpanparentId in interface CloudtraceSpanpublic Map<String,String> getData()
CloudtraceSpangetData in interface CloudtraceSpanCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.