Interface PeriodicWorkHandlerStats


  • public interface PeriodicWorkHandlerStats

    Statistics for features implementing PeriodicWorkHandler.

    • 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 when PeriodicWorkHandler.doPeriodicWork() is called on a feature implementing PeriodicWorkHandler
        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 implementing PeriodicWorkHandler throws an exception during periodic work execution
        Parameters:
        delta - the increment