Package jsl.observers.scheduler
Class ExecutiveTraceReport
- java.lang.Object
-
- jsl.observers.scheduler.ExecutiveTraceReport
-
- All Implemented Interfaces:
ObserverIfc
public class ExecutiveTraceReport extends java.lang.Object implements ObserverIfc
-
-
Constructor Summary
Constructors Constructor Description ExecutiveTraceReport(java.nio.file.Path pathToFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetOffTime()The time that the trace will stop tracing eventsvoidsetOffTime(double time)Don't trace after the supplied timevoidupdate(java.lang.Object subject, java.lang.Object arg)This method is called when the observable needs observing
-
-
-
Method Detail
-
update
public void update(java.lang.Object subject, java.lang.Object arg)Description copied from interface:ObserverIfcThis method is called when the observable needs observing- Specified by:
updatein interfaceObserverIfc- Parameters:
subject- the thing observedarg- an object of info
-
setOffTime
public final void setOffTime(double time)
Don't trace after the supplied time- Parameters:
time-
-
getOffTime
public final double getOffTime()
The time that the trace will stop tracing events- Returns:
- The time that the trace will stop tracing events
-
-