| Package | Description |
|---|---|
| org.htrace | |
| org.htrace.impl | |
| org.htrace.wrappers |
| Modifier and Type | Method and Description |
|---|---|
Span |
Span.child(String description)
Create a child span of this span with the given description
|
protected Span |
Tracer.createNew(String description) |
protected Span |
Tracer.currentSpan() |
static Span |
Trace.currentSpan()
If we are tracing, return the current span, else null
|
Span |
TraceScope.detach()
Remove this span as the current thread, but don't stop it yet or
send it for collection.
|
Span |
TraceScope.getSpan() |
protected Span |
Tracer.setCurrentSpan(Span span) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Span> |
TraceTree.getRoots() |
Collection<Span> |
TraceTree.getSpans() |
com.google.common.collect.Multimap<Long,Span> |
TraceTree.getSpansByParentIdMap() |
com.google.common.collect.Multimap<String,Span> |
TraceTree.getSpansByPidMap() |
| Modifier and Type | Method and Description |
|---|---|
TraceScope |
Tracer.continueSpan(Span s) |
static TraceScope |
Trace.continueSpan(Span s)
Pick up an existing span from another thread.
|
void |
Tracer.deliver(Span span) |
static TraceInfo |
TraceInfo.fromSpan(Span s) |
void |
SpanReceiver.receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
protected Span |
Tracer.setCurrentSpan(Span span) |
static TraceScope |
Trace.startSpan(String description,
Span parent)
Starts and returns a new span as the child of the parameter 'parent'.
|
| Constructor and Description |
|---|
TraceTree(Collection<Span> spans)
Create a new TraceTree
|
| Modifier and Type | Class and Description |
|---|---|
class |
MilliSpan
A Span implementation that stores its information in milliseconds since the
epoch.
|
| Modifier and Type | Method and Description |
|---|---|
Span |
MilliSpan.child(String description) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Span> |
POJOSpanReceiver.getSpans() |
| Modifier and Type | Method and Description |
|---|---|
void |
StandardOutSpanReceiver.receiveSpan(Span span) |
void |
POJOSpanReceiver.receiveSpan(Span span) |
void |
LocalFileSpanReceiver.receiveSpan(Span span) |
| Constructor and Description |
|---|
TraceCallable(Span parent,
Callable<V> impl) |
TraceCallable(Span parent,
Callable<V> impl,
String description) |
TraceRunnable(Span parent,
Runnable runnable) |
TraceRunnable(Span parent,
Runnable runnable,
String description) |
Copyright © 2014. All Rights Reserved.