Class TimedJob
java.lang.Object
io.deephaven.enterprise.comm.sched.Job
io.deephaven.enterprise.niowrapper.sched.TimedJob
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
- Direct Known Subclasses:
DeephavenLeaseHandler,FutureJob,HungReportJob,PeriodicJob,StatsDriver,WorkerTtlCheckJob
This is the base class for jobs which are only interested in timing events. It provides default invoke() and
cancelled() method which do nothing. Created by IntelliJ IDEA. User: jrauser Date: Mar 10, 2007 Time: 8:48:40 AM To
change this template use File | Settings | File Templates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fishlib.base.log.LogOutputappend(com.fishlib.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, com.fishlib.base.Procedure.Nullary handoff) This method is invoked by the scheduler when the job's channel becomes ready.Methods inherited from class io.deephaven.enterprise.comm.sched.Job
getStateFor, makeStateFor, timedOut
-
Constructor Details
-
TimedJob
public TimedJob()
-
-
Method Details
-
invoke
public int invoke(SelectableChannel channel, int readyOps, com.fishlib.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. -
append
public com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)
-