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
@UsageCounter(mapping=2, description="Incremented when PeriodicWorkHandler#doPeriodicWork() is called on a feature implementing PeriodicWorkHandler", shortName="", unitLabel="") void incrementPeriodicWorkStarted(long delta)
Incremented whenPeriodicWorkHandler.doPeriodicWork()
is called on a feature implementingPeriodicWorkHandler
- Parameters:
delta
- the increment
-
incrementPeriodicWorkFailed
@UsageCounter(mapping=3, description="Incremented if a feature implementing PeriodicWorkHandler throws an exception during periodic work execution", shortName="", unitLabel="") void incrementPeriodicWorkFailed(long delta)
Incremented if a feature implementingPeriodicWorkHandler
throws an exception during periodic work execution- Parameters:
delta
- the increment
-
-