Class LogFile
java.lang.Object
jmt.jmarkov.Graphics.LogFile
- All Implemented Interfaces:
Notifier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenterProcessor(int jobId, int processorId, double time, double executionTime) voidenterQueue(int jobId, double time) voidexitProcessor(int jobId, int processorId, double time) voidexitQueue(int jobId, double time) voidexitSystem(int jobId, int processorId, double enterQueueTime, double enterCpuTime, double exitSystemTime) booleanvoidjobLost(int jobId, double time) voidrefresh()voidreset()voidsetLogFile(File file, int type, Component parentC) voidsetLogging(boolean logging) voidupdateProcessor(int jobId, int processorId, double remainingTime, double time) voidupdateQueue(int jobId, double time)
-
Field Details
-
TABBED_DELIMITED
public static final int TABBED_DELIMITED- See Also:
-
COMMA_DELIMITED
public static final int COMMA_DELIMITED- See Also:
-
SEMI_COLON_DELIMITED
public static final int SEMI_COLON_DELIMITED- See Also:
-
-
Constructor Details
-
LogFile
public LogFile()
-
-
Method Details
-
enterProcessor
public void enterProcessor(int jobId, int processorId, double time, double executionTime) - Specified by:
enterProcessorin interfaceNotifier
-
enterQueue
public void enterQueue(int jobId, double time) - Specified by:
enterQueuein interfaceNotifier
-
exitProcessor
public void exitProcessor(int jobId, int processorId, double time) - Specified by:
exitProcessorin interfaceNotifier
-
exitQueue
-
exitSystem
public void exitSystem(int jobId, int processorId, double enterQueueTime, double enterCpuTime, double exitSystemTime) - Specified by:
exitSystemin interfaceNotifier
-
jobLost
-
reset
-
updateProcessor
public void updateProcessor(int jobId, int processorId, double remainingTime, double time) - Specified by:
updateProcessorin interfaceNotifier
-
updateQueue
public void updateQueue(int jobId, double time) - Specified by:
updateQueuein interfaceNotifier
-
setLogFile
-
refresh
public void refresh() -
isLogging
public boolean isLogging() -
setLogging
public void setLogging(boolean logging)
-