Package io.deephaven.io.sched
Class TimedJob
java.lang.Object
io.deephaven.io.sched.Job
io.deephaven.io.sched.TimedJob
- All Implemented Interfaces:
io.deephaven.base.log.LogOutputAppendable
This is the base class for jobs which are only interested in timing events. It provides default invoke() and
cancelled() method which do nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.base.log.LogOutputappend(io.deephaven.base.log.LogOutput logOutput) voidThis method is called if the job is explicitly cancelled before it becomes ready or times out.intinvoke(SelectableChannel channel, int readyOps, Runnable handoff) This method is invoked by the scheduler when the job's channel becomes ready.
-
Constructor Details
-
TimedJob
public TimedJob()
-
-
Method Details
-
invoke
Description copied from class:JobThis method is invoked by the scheduler when the job's channel becomes ready. -
cancelled
public void cancelled()Description copied from class:JobThis method is called if the job is explicitly cancelled before it becomes ready or times out. -
append
public io.deephaven.base.log.LogOutput append(io.deephaven.base.log.LogOutput logOutput)
-