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 double
getOffTime()
The time that the trace will stop tracing eventsvoid
setOffTime(double time)
Don't trace after the supplied timevoid
update(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:ObserverIfc
This method is called when the observable needs observing- Specified by:
update
in 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
-
-