Interface ExecutionStats
public interface ExecutionStats
Service execution statistics.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the execution statistics.Returns a newExecStatswith execution statistics.voidupdateStats(long startNS) Updates the execution statistics using supplied start time.
-
Method Details
-
updateStats
void updateStats(long startNS) Updates the execution statistics using supplied start time.- Parameters:
startNS- the execution start time (nanoseconds).
-
getExecStats
ExecStats getExecStats()Returns a newExecStatswith execution statistics.- Returns:
- a new
ExecStatswith execution statistics.
-
clear
void clear()Clears the execution statistics.
-