||The task handler.|
While the Task class only knows what task to perform with the run()-method,
the TaskHandler has all the knowledge about the periodicity of the task.
Instances of this class are managed by the Scheduler in the scheduled,
running and onDemand dictionaries.
||Methods defined here:|
- __init__(self, scheduler, start, period, task, name)
- Disable future invocations of this task.
- Enable future invocations of this task.
- Return True if this task is not scheduled for periodic execution.
- Return the period of this task.
- Determine whether this task should be rescheduled.
Increments the startTime and returns true if this is
a periodically executed task.
- reset(self, start, period, task, reregister)
- Determine whether this task should be run again.
This method lets the Scheduler check to see whether this task should be
re-run when it terminates.
- Request that this task be re-run after its current completion.
Intended for on-demand tasks that are requested by the Scheduler while
they are already running.
- Run this task in a background thread.
- setPeriod(self, period)
- Change the period for this task.
- startTime(self, newTime=None)
- Request that this task not be kept after its current completion.
Used to remove a task from the scheduler.
Data descriptors defined here:
- dictionary for instance variables (if defined)
- list of weak references to the object (if defined)