Package org.apache.curator.utils
Class DefaultTracerDriver
java.lang.Object
org.apache.curator.utils.DefaultTracerDriver
- All Implemented Interfaces:
TracerDriver
Default tracer driver
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultTracerDriver
public DefaultTracerDriver()
-
-
Method Details
-
addTrace
Description copied from interface:TracerDriver
Record the given trace event- Specified by:
addTrace
in interfaceTracerDriver
- Parameters:
name
- of the eventtime
- time event tookunit
- time unit
-
addCount
Description copied from interface:TracerDriver
Add to a named counter- Specified by:
addCount
in interfaceTracerDriver
- Parameters:
name
- name of the counterincrement
- amount to increment
-