Class IrisQueryScheduler

java.lang.Object
com.illumon.iris.controller.IrisQueryScheduler
All Implemented Interfaces:
IrisScheduler
Direct Known Subclasses:
IrisQuerySchedulerContinuous, IrisQuerySchedulerDaily, IrisQuerySchedulerDependent, IrisQuerySchedulerMonthly, IrisQuerySchedulerTemporary

public abstract class IrisQueryScheduler
extends Object
implements IrisScheduler
Base class for basic query scheduling object to contain the parameters used for scheduling. By itself it can not perform scheduling as it doesn't specify on what days a query should run, it simply specifies start/stop values. Since it can't handle scheduling by itself, the implementation of the IrisScheduler class is left to subclasses. Negative values for startTime and stopTime would be before 1970; they are used to indicate no start or stop time. This can happen if query scheduling is disabled, or we couldn't find a valid start time within the specified look-forward time.