Class JobState
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.JobState
A description of the state of a job, in terms of its state, whether its
boards are powered, the advised keep-alive polling interval and the reason
that the job died (if in the
DESTROYED
state).-
Method Details
-
getState
- Returns:
- the state of the job
-
getPower
- Returns:
- whether the job's boards are powered
-
getKeepalive
public double getKeepalive()- Returns:
- the keepalive interval, in seconds
-
getReason
- Returns:
- the reason why the job was destroyed
-
getStartTime
public double getStartTime()- Returns:
- the time the job started, in seconds from the epoch
-
getKeepalivehost
- Returns:
- the host keeping the job alive
-
toString
-