Class LogFile

java.lang.Object
jmt.jmarkov.Graphics.LogFile
All Implemented Interfaces:
Notifier

public class LogFile extends Object implements Notifier
Log file of the JMCH simulation runs.
  • Field Details

  • Constructor Details

    • LogFile

      public LogFile()
  • Method Details

    • enterProcessor

      public void enterProcessor(int jobId, int processorId, double time, double executionTime)
      Specified by:
      enterProcessor in interface Notifier
    • enterQueue

      public void enterQueue(int jobId, double time)
      Specified by:
      enterQueue in interface Notifier
    • exitProcessor

      public void exitProcessor(int jobId, int processorId, double time)
      Specified by:
      exitProcessor in interface Notifier
    • exitQueue

      public void exitQueue(int jobId, double time)
      Specified by:
      exitQueue in interface Notifier
    • exitSystem

      public void exitSystem(int jobId, int processorId, double enterQueueTime, double enterCpuTime, double exitSystemTime)
      Specified by:
      exitSystem in interface Notifier
    • jobLost

      public void jobLost(int jobId, double time)
      Specified by:
      jobLost in interface Notifier
    • reset

      public void reset()
      Specified by:
      reset in interface Notifier
    • updateProcessor

      public void updateProcessor(int jobId, int processorId, double remainingTime, double time)
      Specified by:
      updateProcessor in interface Notifier
    • updateQueue

      public void updateQueue(int jobId, double time)
      Specified by:
      updateQueue in interface Notifier
    • setLogFile

      public void setLogFile(File file, int type, Component parentC)
    • refresh

      public void refresh()
    • isLogging

      public boolean isLogging()
    • setLogging

      public void setLogging(boolean logging)