public interface

IScheduler

implements AutoCloseable
com.microstrategy.webapi.utils.IScheduler<T>
Known Indirect Subclasses

Class Overview

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

Summary

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
From interface java.lang.AutoCloseable

Public Methods

public abstract void close ()

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

public abstract ArrayList<Calendar> getNextRuns (int iNumberOfRuns)

getNextRuns gets the time of the next iNumberOfRuns. The times do not accout for any triggerTask() calls; it ONLY returns regularly scheduled times

public abstract void triggerTask (T iT)

triggerTask runs a task right now (even when it is not time for the schedule). The schedule times are not affected by this task