public abstract class AdvancedTracerDriver extends Object implements TracerDriver
| Constructor and Description |
|---|
AdvancedTracerDriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCount(String name,
int increment)
Deprecated.
|
abstract void |
addEvent(EventTrace trace)
Add to a named counter
|
abstract void |
addTrace(OperationTrace trace)
Record the given trace event
|
void |
addTrace(String name,
long time,
TimeUnit unit)
Deprecated.
|
public abstract void addTrace(OperationTrace trace)
trace - the metrics of the operationpublic abstract void addEvent(EventTrace trace)
name - name of the counterincrement - amount to increment@Deprecated public final void addTrace(String name, long time, TimeUnit unit)
TracerDriveraddTrace in interface TracerDrivername - of the eventtime - time event tookunit - time unit@Deprecated public final void addCount(String name, int increment)
TracerDriveraddCount in interface TracerDrivername - name of the counterincrement - amount to incrementCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.