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