Package org.apache.curator.drivers
Interface TracerDriver
- All Known Implementing Classes:
AdvancedTracerDriver
,DefaultTracerDriver
public interface TracerDriver
Mechanism for timing methods and recording counters
-
Method Summary
-
Method Details
-
addTrace
Record the given trace event- Parameters:
name
- of the eventtime
- time event tookunit
- time unit
-
addCount
Add to a named counter- Parameters:
name
- name of the counterincrement
- amount to increment
-