Class AdvancedTracerDriver

java.lang.Object
org.apache.curator.drivers.AdvancedTracerDriver
All Implemented Interfaces:
TracerDriver

public abstract class AdvancedTracerDriver extends Object implements TracerDriver
Expose more metrics for the operations and events
  • Constructor Details

    • AdvancedTracerDriver

      public AdvancedTracerDriver()
  • Method Details

    • addTrace

      public abstract void addTrace(OperationTrace trace)
      Record the given trace event
      Parameters:
      trace - the metrics of the operation
    • addEvent

      public abstract void addEvent(EventTrace trace)
      Add to a named counter
      Parameters:
      name - name of the counter
      increment - amount to increment
    • addTrace

      @Deprecated public final void addTrace(String name, long time, TimeUnit unit)
      Deprecated.
      Description copied from interface: TracerDriver
      Record the given trace event
      Specified by:
      addTrace in interface TracerDriver
      Parameters:
      name - of the event
      time - time event took
      unit - time unit
    • addCount

      @Deprecated public final void addCount(String name, int increment)
      Deprecated.
      Description copied from interface: TracerDriver
      Add to a named counter
      Specified by:
      addCount in interface TracerDriver
      Parameters:
      name - name of the counter
      increment - amount to increment