Class Job

java.lang.Object
jmt.jmarkov.Job
All Implemented Interfaces:
Cloneable

public class Job extends Object implements Cloneable
Job of the JMCH simulation: carries the arrival time, service time and due date of a job in the animated model.
  • Field Details

  • Constructor Details

    • Job

      public Job(int jobId, double time)
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • setEnteringQueueTime

      public void setEnteringQueueTime(double enteringQueueTime)
    • setEnteringCpuTime

      public void setEnteringCpuTime(double enteringCpuTime, Processor newProcessor)
    • setSystemExitTime

      public void setSystemExitTime(double exitingSystem)
    • setStateEnterQueue

      public void setStateEnterQueue()
    • setStateExitSystem

      public void setStateExitSystem()
    • getCreationTime

      public double getCreationTime()
    • getEnteringQueueTime

      public double getEnteringQueueTime()
    • getEnteringCpuTime

      public double getEnteringCpuTime()
    • getSystemExitTime

      public double getSystemExitTime()
    • getNextEventTime

      public double getNextEventTime()
    • getCurrentStateType

      public int getCurrentStateType()
    • getProcessorId

      public int getProcessorId()
    • getProcessor

      public Processor getProcessor()
    • getJobId

      public int getJobId()
    • setAnimationTime

      public void setAnimationTime(double animationTime)