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
public abstract class TimedJob extends Job
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 Constructor Description TimedJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.deephaven.base.log.LogOutputappend(io.deephaven.base.log.LogOutput logOutput)voidcancelled()This method is called if the job is explicitly cancelled before it becomes ready or times out.intinvoke(java.nio.channels.SelectableChannel channel, int readyOps, io.deephaven.base.Procedure.Nullary handoff)This method is invoked by the scheduler when the job's channel becomes ready.
-
-
-
Method Detail
-
invoke
public int invoke(java.nio.channels.SelectableChannel channel, int readyOps, io.deephaven.base.Procedure.Nullary handoff)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.
-
-