Package org.apache.curator.drivers
Class AdvancedTracerDriver
java.lang.Object
org.apache.curator.drivers.AdvancedTracerDriver
- All Implemented Interfaces:
TracerDriver
Expose more metrics for the operations and events
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Deprecated.abstract void
addEvent
(EventTrace trace) Add to a named counterfinal void
Deprecated.abstract void
addTrace
(OperationTrace trace) Record the given trace event
-
Constructor Details
-
AdvancedTracerDriver
public AdvancedTracerDriver()
-
-
Method Details
-
addTrace
Record the given trace event- Parameters:
trace
- the metrics of the operation
-
addEvent
Add to a named counter- Parameters:
name
- name of the counterincrement
- amount to increment
-
addTrace
Deprecated.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
Deprecated.Description copied from interface:TracerDriver
Add to a named counter- Specified by:
addCount
in interfaceTracerDriver
- Parameters:
name
- name of the counterincrement
- amount to increment
-