Class JobState
java.lang.Object
io.deephaven.enterprise.comm.sched.JobState
- All Implemented Interfaces:
Cloneable
The per-scheduler state for a job. Note that this class is package-private.
Created by IntelliJ IDEA. User: jrauser Date: May 14, 2007 Time: 5:35:03 PM To change this template use File |
Settings | File Templates.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleantrue if this job has been explicitly cancelledlongthe current deadline for this jobbooleantrue if the job has been forgotten after being dispatched and not reinstalledbooleantrue, if this job has been invoked or has timed outlongthe nano-time when this job was last enqueuedfinal Jobthe jobthe channel on which this job will select in the next scheduler looplongthe timeout deadline of this job in the next scheduler loopintthe interest set on which this job will select in the next scheduler loopthe channel on which the job is ready to be dispatched, or nullintthe operation set on which the job is ready to be dispatched, or zerolongthe update count for this job statethis is the channel we are waiting on in the selector -
Method Summary
-
Field Details
-
job
the job -
updateClock
public long updateClockthe update count for this job state -
deadline
public long deadlinethe current deadline for this job -
gathered
public boolean gatheredtrue, if this job has been invoked or has timed out -
forgotten
public boolean forgottentrue if the job has been forgotten after being dispatched and not reinstalled -
cancelled
public boolean cancelledtrue if this job has been explicitly cancelled -
waitChannel
this is the channel we are waiting on in the selector -
readyChannel
the channel on which the job is ready to be dispatched, or null -
readyOps
public int readyOpsthe operation set on which the job is ready to be dispatched, or zero -
nextChannel
the channel on which this job will select in the next scheduler loop -
nextOps
public int nextOpsthe interest set on which this job will select in the next scheduler loop -
nextDeadline
public long nextDeadlinethe timeout deadline of this job in the next scheduler loop -
gatheredNanos
public long gatheredNanosthe nano-time when this job was last enqueued
-
-
Method Details
-
clone
Clone this object- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-