Class TimeTrace

java.lang.Object
org.apache.curator.TimeTrace

public class TimeTrace extends Object
Utility to time a method or portion of code
  • Constructor Details

    • TimeTrace

      public TimeTrace(String name, TracerDriver driver)
      Create and start a timer
      Parameters:
      name - name of the event
      driver - driver
  • Method Details

    • commit

      public void commit()
      Record the elapsed time