Interface TimerSnapshot
-
@Internal @ParametersAreNonnullByDefault public interface TimerSnapshotReturns the time in the unit specified.- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCpuMaxTime(TimeUnit unit)longgetCpuMinTime(TimeUnit unit)longgetCpuTotalTime(TimeUnit unit)longgetElapsedMaxTime(TimeUnit unit)longgetElapsedMinTime(TimeUnit unit)longgetElapsedTotalTime(TimeUnit unit)longgetInvocationCount()@NonNull StringgetName()
-
-
-
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)
-
-