Package | Description |
---|---|
org.cloudera.htrace |
Modifier and Type | Method and Description |
---|---|
static TraceScope |
Trace.continueSpan(Span s)
Pick up an existing span from another thread.
|
TraceScope |
Tracer.continueSpan(Span s) |
static TraceScope |
Trace.startSpan(String description)
Starts and returns a new span as the child of the current span if the
default sampler (TrueIfTracingSampler) returns true, otherwise returns the
NullSpan.
|
static <T> TraceScope |
Trace.startSpan(String description,
Sampler<T> s) |
static <T> TraceScope |
Trace.startSpan(String description,
Sampler<T> s,
T info) |
static TraceScope |
Trace.startSpan(String description,
Sampler<TraceInfo> s,
TraceInfo tinfo) |
static TraceScope |
Trace.startSpan(String description,
Span parent)
Starts and returns a new span as the child of the parameter 'parent'.
|
static TraceScope |
Trace.startSpan(String description,
TraceInfo tinfo) |
Copyright © 2014. All rights reserved.