Class JobQueueFixedDelay

java.lang.Object
overit.geocall.scheduler.JobQueue
overit.geocall.scheduler.JobQueueFixedDelay
All Implemented Interfaces:
overit.geocall.marks.FieldExposer

public class JobQueueFixedDelay extends JobQueue
This class manages a JobQueue with a fixed delay
  • Constructor Details

    • JobQueueFixedDelay

      public JobQueueFixedDelay(String name, String description, int state)
      Creates a new JobQueueFixedDelay
      Parameters:
      name - The name of the JobQueueFixedDelay
      description - The description of the JobQueueFixedDelay
      state - The state of the JobQueueFixedDelay
  • Method Details

    • schedule

      public void schedule(Date at, int period, int random, Set hourMinutes, Set dayHours, Set weekDays, Set monthDays)
      Description copied from class: JobQueue
      Schedule a JobQUeue
      Overrides:
      schedule in class JobQueue
      Parameters:
      at - The Date
      period - The period
      random - The random
      hourMinutes - The set with hour minutes
      dayHours - The set with day hours
      weekDays - The set with week days
      monthDays - The set with month days
    • runQueue

      public void runQueue()
      Overrides:
      runQueue in class JobQueue
    • kill

      public void kill(boolean force)
      Description copied from class: JobQueue
      Does nothing
      Overrides:
      kill in class JobQueue
      Parameters:
      force - Not used
    • getMode

      public int getMode()
      Description copied from class: JobQueue
      Returns the mode
      Specified by:
      getMode in class JobQueue
      Returns:
      The mode