Class Timer.Sample

java.lang.Object
org.forgerock.monitoring.api.instrument.Timer.Sample
Enclosing interface:
Timer

public static class Timer.Sample extends Object
  • Method Details

    • stop

      public long stop(Timer timer)
      Records the duration of the operation
      Returns:
      The total duration of the sample in nanoseconds