public interface ExecutionStats
Service execution statistics.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the execution statistics.Returns a newExecStats
with execution statistics.void
updateStats
(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 newExecStats
with execution statistics.- Returns:
- a new
ExecStats
with execution statistics.
-
clear
void clear()Clears the execution statistics.
-