Interface PollingRuleService

All Known Implementing Classes:
PollServiceImpl

public interface PollingRuleService
  • Field Details

  • Method Details

    • getIntervalMinutes

      Long getIntervalMinutes(TenantContext tenantContext)
      Returns the interval in which rule components should be polled.
      Returns:
      the interval in minutes
    • addPollingRulesToQueue

      void addPollingRulesToQueue(Environment env)
      Finds and runs all overdue schedules. This method should execute fast and simply queue schedules to be executed (and not actually execute them)
      Parameters:
      env - The environment from which to retrieve schedules