Package org.apache.jackrabbit.oak.stats
Interface TimerStats
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTimerStats.ContextA timing context.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimerStats.Contexttime()Returns a newTimerStats.Context.voidupdate(long duration, TimeUnit unit)Adds a recorded duration.
-
-
-
Method Detail
-
update
void update(long duration, TimeUnit unit)Adds a recorded duration.- Parameters:
duration- the length of the durationunit- the scale unit ofduration
-
time
TimerStats.Context time()
Returns a newTimerStats.Context.- Returns:
- a new
TimerStats.Context - See Also:
TimerStats.Context
-
-