Class DefaultEventManager.TemplateStartPoll
java.lang.Object
de.aristaflow.adept2.core.eventmanager.common.DefaultEventManager.TemplateStartPoll
- All Implemented Interfaces:
Runnable
- Enclosing class:
- DefaultEventManager
The poll of the process manager for the scheduled starts of template statuses, which runs first
after the minimal delay, or after the poll time if this is shorter, and then the poll time
after the end of each run.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTemplateStartPoll(Filter filter) Creates the poll of the template statuses which the designated filter matches. -
Method Summary
-
Field Details
-
filter
The filter matching the template statuses with a live scheduled start. -
started
protected boolean startedWhether a run of this poll has started.
-
-
Constructor Details
-
TemplateStartPoll
Creates the poll of the template statuses which the designated filter matches. Nothing runs before the poll is scheduled.- Parameters:
filter- The filter matching the template statuses with a live scheduled start.
-
-
Method Details
-
run
public void run() -
getNextRunTime
Gets the time of the next run of this poll.- Returns:
- The time of the next run of this poll. This will never be
null.
-
toString
Returns the name of this poll, which the event manager names when it logs about the runs of this poll.
-