Class JobQueue

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Job>, Collection<Job>, Deque<Job>, List<Job>, Queue<Job>, SequencedCollection<Job>

public class JobQueue extends LinkedList<Job>
Represent the queue (the queue of the system) and this queue contains the jobs waiting for processing
See Also:
  • Constructor Details

    • JobQueue

      public JobQueue()
      Initializer of JobQueue class
  • Method Details

    • addToQueueVoid

      public void addToQueueVoid(Job newJob)
      add job in to system
    • removeFromQueue

      public Job removeFromQueue()
      Remove a job from the system
      Returns:
      returns the first element in the queue
    • clearQueue

      public void clearQueue()