com.microstrategy.webapi.utils.IScheduler<T> |
![]()
Scheduler<T>
|
IScheduler always runs on a whole minute (zero seconds). It starts on the very next minute when you construct the object You specify the number of minutes to use as a period
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | IScheduler.Factory | ||||||||||
interface | IScheduler.ITask<T> |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
close()
close shuts down the scheduling.
| ||||||||||
abstract ArrayList<Calendar> |
getNextRuns(int iNumberOfRuns)
getNextRuns gets the time of the next iNumberOfRuns.
| ||||||||||
abstract void |
triggerTask(T iT)
triggerTask runs a task right now (even when it is not time for the schedule).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
close shuts down the scheduling. Any tasks currently running will continue until completion. No new tasks will be run. It waits until all currently running tasks are complete, so when this method returns you know the thread is gone
getNextRuns gets the time of the next iNumberOfRuns. The times do not accout for any triggerTask() calls; it ONLY returns regularly scheduled times
triggerTask runs a task right now (even when it is not time for the schedule). The schedule times are not affected by this task