Class IrisQuerySchedulerDaily

java.lang.Object
com.illumon.iris.controller.IrisQueryScheduler
com.illumon.iris.controller.IrisQuerySchedulerDaily
All Implemented Interfaces:
IrisScheduler

public class IrisQuerySchedulerDaily extends IrisQueryScheduler implements IrisScheduler
Implementation of scheduler for daily scheduling. This is intended for queries that will be run on specified days of the week, or on business days.
  • Constructor Details

    • IrisQuerySchedulerDaily

      public IrisQuerySchedulerDaily()
    • IrisQuerySchedulerDaily

      public IrisQuerySchedulerDaily(String startTime, String stopTime, String timeZone, boolean schedulingDisabled, boolean overnight, String businessCalendar, boolean businessDays, boolean[] days, boolean repeatEnabled, String repeatInterval, boolean skipIfUnsuccessful, boolean stopTimeDisabled, int errorRestartCount, String restartDelayMinutes, IrisQueryScheduler.RestartWhenRunning restartWhenRunning)
  • Method Details

    • generateStringArrayFromScheduler

      public String[] generateStringArrayFromScheduler()
      Specified by:
      generateStringArrayFromScheduler in interface IrisScheduler
    • populateSchedulerFromStringArray

      public void populateSchedulerFromStringArray(String[] strings)
      Specified by:
      populateSchedulerFromStringArray in interface IrisScheduler
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class IrisQueryScheduler
    • getBusinessCalendarString

      public String getBusinessCalendarString()
    • getDaysArray

      public boolean[] getDaysArray()
    • getBusinessDays

      public boolean getBusinessDays()
    • generateSchedulerTimes

      public void generateSchedulerTimes(Long lookPastTime, Map<Long,PersistentQueryInfo> queryInfos)
      Description copied from interface: IrisScheduler
      Generate the next start/stop time values for this query. Generated values of -1 will be used to indicate no start or stop time. After calling this, calling getStartTimeInMillis will return the generated start time and calling getStopTimeInMillis will return the generated stop time.
      Specified by:
      generateSchedulerTimes in interface IrisScheduler
      Parameters:
      lookPastTime - the time in millis past which the scheduling engine looks for the next start time, or null if none is desired
      queryInfos - the controller's query information Map
    • getScheduleDetailDisplay

      public String getScheduleDetailDisplay(String[] strings, Map<Long,PersistentQueryInfo> queryInfos)
      Specified by:
      getScheduleDetailDisplay in interface IrisScheduler
    • validate

      public void validate(Map<Long,PersistentQueryInfo> allConfigurations)
      Description copied from interface: IrisScheduler
      Validate the scheduling.
      Specified by:
      validate in interface IrisScheduler
      Overrides:
      validate in class IrisQueryScheduler
      Parameters:
      allConfigurations - a map of all current query configurations which can be used for additional validation