Interface MethodStatisticsLogger
- All Known Implementing Classes:
- MethodStatisticsLoggerImpl
public interface MethodStatisticsLogger
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidduration(long fromTimestamp) Calculate lenght of time bewteen current time and provided timedefault longdefault longdefault longdefault longdefault voidCount reported failure of method invocationdefault voidreset()Reinitialize statisticsdefault longRetrieve current time
- 
Method Details- 
timestampdefault long timestamp()Retrieve current time- Returns:
 
- 
durationdefault void duration(long fromTimestamp) Calculate lenght of time bewteen current time and provided time- Parameters:
- fromTimestamp-
 
- 
incFailureCntdefault void incFailureCnt()Count reported failure of method invocation
- 
resetdefault void reset()Reinitialize statistics
- 
getInvocationCntdefault long getInvocationCnt()
- 
getFailedInvocationCntdefault long getFailedInvocationCnt()
- 
getAvgExecutionTimedefault long getAvgExecutionTime()
- 
getTotalExecutionTimedefault long getTotalExecutionTime()
 
-