Class JobState

java.lang.Object
io.deephaven.enterprise.comm.sched.JobState
All Implemented Interfaces:
Cloneable

public class JobState extends Object implements 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 Details

    • job

      public final Job job
      the job
    • updateClock

      public long updateClock
      the update count for this job state
    • deadline

      public long deadline
      the current deadline for this job
    • gathered

      public boolean gathered
      true, if this job has been invoked or has timed out
    • forgotten

      public boolean forgotten
      true if the job has been forgotten after being dispatched and not reinstalled
    • cancelled

      public boolean cancelled
      true if this job has been explicitly cancelled
    • waitChannel

      public SelectableChannel waitChannel
      this is the channel we are waiting on in the selector
    • readyChannel

      public SelectableChannel readyChannel
      the channel on which the job is ready to be dispatched, or null
    • readyOps

      public int readyOps
      the operation set on which the job is ready to be dispatched, or zero
    • nextChannel

      public SelectableChannel nextChannel
      the channel on which this job will select in the next scheduler loop
    • nextOps

      public int nextOps
      the interest set on which this job will select in the next scheduler loop
    • nextDeadline

      public long nextDeadline
      the timeout deadline of this job in the next scheduler loop
    • gatheredNanos

      public long gatheredNanos
      the nano-time when this job was last enqueued
  • Method Details