public interface MethodStatisticsLogger
Modifier and Type | Method and Description |
---|---|
default void |
duration(long fromTimestamp)
Calculate lenght of time bewteen current time and provided time
|
default long |
getAvgExecutionTime() |
default long |
getFailedInvocationCnt() |
default long |
getInvocationCnt() |
default long |
getTotalExecutionTime() |
default void |
incFailureCnt()
Count reported failure of method invocation
|
default void |
reset()
Reinitialize statistics
|
default long |
timestamp()
Retrieve current time
|
default long timestamp()
default void duration(long fromTimestamp)
fromTimestamp
- default void incFailureCnt()
default void reset()
default long getInvocationCnt()
default long getFailedInvocationCnt()
default long getAvgExecutionTime()
default long getTotalExecutionTime()
Copyright © 2021 JBoss by Red Hat. All rights reserved.