public class Tracer extends Object
Modifier and Type | Field and Description |
---|---|
static TraceInfo |
DONT_TRACE |
static org.apache.commons.logging.Log |
LOG |
protected static String |
processId |
Constructor and Description |
---|
Tracer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addReceiver(SpanReceiver receiver) |
TraceScope |
continueSpan(Span s) |
protected Span |
createNew(String description) |
protected Span |
currentSpan() |
void |
deliver(Span span) |
static Tracer |
getInstance() |
protected boolean |
isTracing() |
protected int |
numReceivers() |
protected void |
removeReceiver(SpanReceiver receiver) |
protected Span |
setCurrentSpan(Span span) |
public static final org.apache.commons.logging.Log LOG
public static final TraceInfo DONT_TRACE
protected static String processId
public static Tracer getInstance()
protected boolean isTracing()
protected Span currentSpan()
public void deliver(Span span)
protected void addReceiver(SpanReceiver receiver)
protected void removeReceiver(SpanReceiver receiver)
public TraceScope continueSpan(Span s)
protected int numReceivers()
Copyright © 2014. All rights reserved.