Interface TimerSnapshot
-
@Internal @ParametersAreNonnullByDefault public interface TimerSnapshot
Returns the time in the unit specified.- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCpuMaxTime(TimeUnit unit)
long
getCpuMinTime(TimeUnit unit)
long
getCpuTotalTime(TimeUnit unit)
long
getElapsedMaxTime(TimeUnit unit)
long
getElapsedMinTime(TimeUnit unit)
long
getElapsedTotalTime(TimeUnit unit)
long
getInvocationCount()
@NonNull String
getName()
-
-
-
Method Detail
-
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)
-
-