Interface OperationTimer


public interface OperationTimer
A timer metric that records duration of operations for metrics purposes.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    An interface for stopping the timer and returning elapsed time.
  • Method Summary

    Modifier and Type
    Method
    Description
    Starts the timer.
  • Method Details

    • startTimer

      Starts the timer.
      Returns:
      The produced TimingContext, which must be stopped or closed when the operation being timed has completed.