Interface TimerSnapshot


@Internal @ParametersAreNonnullByDefault public interface TimerSnapshot
Returns the time in the unit specified.
Since:
5.7
  • Method Details

    • getName

      @NonNull String getName()
    • getInvocationCount

      long getInvocationCount()
    • getElapsedTotalTime

      long getElapsedTotalTime(TimeUnit unit)
    • getElapsedMinTime

      long getElapsedMinTime(TimeUnit unit)
    • getElapsedMaxTime

      long getElapsedMaxTime(TimeUnit unit)
    • getCpuTotalTime

      long getCpuTotalTime(TimeUnit unit)
    • getCpuMinTime

      long getCpuMinTime(TimeUnit unit)
    • getCpuMaxTime

      long getCpuMaxTime(TimeUnit unit)