org.htrace
Class Tracer
java.lang.Object
org.htrace.Tracer
public class Tracer
- extends Object
A Tracer provides the implementation for collecting and distributing Spans
within a process.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
DONT_TRACE
public static final TraceInfo DONT_TRACE
processId
protected static String processId
Tracer
public Tracer()
getInstance
public static Tracer getInstance()
createNew
protected Span createNew(String description)
isTracing
protected boolean isTracing()
currentSpan
protected Span currentSpan()
deliver
public void deliver(Span span)
addReceiver
protected void addReceiver(SpanReceiver receiver)
removeReceiver
protected void removeReceiver(SpanReceiver receiver)
setCurrentSpan
protected Span setCurrentSpan(Span span)
continueSpan
public TraceScope continueSpan(Span s)
numReceivers
protected int numReceivers()
Copyright © 2014. All Rights Reserved.