Interface MethodStatisticsLogger
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
duration
(long fromTimestamp) Calculate lenght of time bewteen current time and provided timedefault long
default long
default long
default long
default void
Count reported failure of method invocationdefault void
reset()
Reinitialize statisticsdefault long
Retrieve current time
-
Method Details
-
timestamp
default long timestamp()Retrieve current time- Returns:
-
duration
default void duration(long fromTimestamp) Calculate lenght of time bewteen current time and provided time- Parameters:
fromTimestamp
-
-
incFailureCnt
default void incFailureCnt()Count reported failure of method invocation -
reset
default void reset()Reinitialize statistics -
getInvocationCnt
default long getInvocationCnt() -
getFailedInvocationCnt
default long getFailedInvocationCnt() -
getAvgExecutionTime
default long getAvgExecutionTime() -
getTotalExecutionTime
default long getTotalExecutionTime()
-