Interface PeriodicWorkHandler


  • public interface PeriodicWorkHandler
    This interface can be added to a SentinelFeature for out-of-session handling of timer-driven periodic work. This is primarily intended for monitoring of configuration so that expensive-to-construct configuration stored on the service context can be updating outside of the normal event processing paths.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PERIODIC_WORK
      Name used for the periodic work phase and feature factory.
    • Field Detail

      • PERIODIC_WORK

        static final java.lang.String PERIODIC_WORK
        Name used for the periodic work phase and feature factory.
        See Also:
        Constant Field Values
    • Method Detail

      • doPeriodicWork

        void doPeriodicWork()
        This method is triggered by a periodic timer running on the ServiceNodeActivity.