Interface TracerDriver

All Known Implementing Classes:
AdvancedTracerDriver, DefaultTracerDriver

public interface TracerDriver
Mechanism for timing methods and recording counters
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCount(String name, int increment)
    Add to a named counter
    void
    addTrace(String name, long time, TimeUnit unit)
    Record the given trace event
  • Method Details

    • addTrace

      void addTrace(String name, long time, TimeUnit unit)
      Record the given trace event
      Parameters:
      name - of the event
      time - time event took
      unit - time unit
    • addCount

      void addCount(String name, int increment)
      Add to a named counter
      Parameters:
      name - name of the counter
      increment - amount to increment