Interface PollingMonitor

  • All Superinterfaces:
    org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, java.util.EventListener

    public interface PollingMonitor
    extends org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
    An interface for monitors which rely on polling.
    • Method Detail

      • onApplicationEvent

        void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
      • getName

        java.lang.String getName()
      • isInService

        boolean isInService()
      • getLastPoll

        java.lang.Long getLastPoll()
      • getPollInterval

        int getPollInterval()