Interface PeriodicWorkHandlerStats
-
public interface PeriodicWorkHandlerStats
Statistics for features implementing
PeriodicWorkHandler
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
incrementPeriodicWorkFailed(long delta)
Incremented if a feature implementingPeriodicWorkHandler
throws an exception during periodic work executionvoid
incrementPeriodicWorkStarted(long delta)
Incremented whenPeriodicWorkHandler.doPeriodicWork()
is called on a feature implementingPeriodicWorkHandler
-
-
-
Method Detail
-
incrementPeriodicWorkStarted
void incrementPeriodicWorkStarted(long delta)
Incremented whenPeriodicWorkHandler.doPeriodicWork()
is called on a feature implementingPeriodicWorkHandler
- Parameters:
delta
- the increment
-
incrementPeriodicWorkFailed
void incrementPeriodicWorkFailed(long delta)
Incremented if a feature implementingPeriodicWorkHandler
throws an exception during periodic work execution- Parameters:
delta
- the increment
-
-