Class JobDescription
java.lang.Object
uk.ac.manchester.spinnaker.alloc.client.JobDescription
@Immutable public final class JobDescription extends Object
Describes a job. This includes the state that the job is in and the
keep-alive configuration.
-
Method Summary
Modifier and Type Method Description Instant
getFinishTime()
String
getKeepaliveHost()
Instant
getKeepaliveTime()
String
getOwner()
URI
getProxyAddress()
String
getReason()
Instant
getStartTime()
State
getState()
-
Method Details
-
getState
- Returns:
- The state of the job.
-
getOwner
- Returns:
- Who owns the job.
null
if the information is shrouded from you.
-
getStartTime
- Returns:
- When the job started.
-
getFinishTime
- Returns:
- When the job was destroyed.
null
if not yet finished.
-
getReason
- Returns:
- Why the job was destroyed.
null
if the job is alive.
-
getKeepaliveHost
- Returns:
- Which host is believed to be keeping a job alive. May be
null
if the information is not known or shrouded from you.
-
getKeepaliveTime
- Returns:
- The most recent keepalive timestamp.
-
getProxyAddress
- Returns:
- The URL for connecting to the job's websocket-based proxy.
-