Interface PollingRuleService
- All Known Implementing Classes:
PollServiceImpl
public interface PollingRuleService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidFinds and runs all overdue schedules.getIntervalMinutes(TenantContext tenantContext) Returns the interval in which rule components should be polled.
-
Field Details
-
TENANT_PROPERTY_INTERVAL_KEY
- See Also:
-
-
Method Details
-
getIntervalMinutes
Returns the interval in which rule components should be polled.- Returns:
- the interval in minutes
-
addPollingRulesToQueue
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
-