Class SessionResourceUpdate
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.SessionResourceUpdate
public class SessionResourceUpdate extends Object
A NMPI job with only resources to be updated.
-
Constructor Summary
Constructors Constructor Description SessionResourceUpdate()
-
Method Summary
Modifier and Type Method Description ResourceUsage
getResourceUsage()
Get the count of how much resource has been used by the job.String
getStatus()
Get the status of the job.void
setResourceUsage(ResourceUsage resourceUsage)
Sets the resourceUsage.void
setStatus(String status)
Sets the status.
-
Constructor Details
-
SessionResourceUpdate
public SessionResourceUpdate()
-
-
Method Details
-
getStatus
Get the status of the job.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
status
- the status to set
-
getResourceUsage
Get the count of how much resource has been used by the job.- Returns:
- the resourceUsage
-
setResourceUsage
Sets the resourceUsage.- Parameters:
resourceUsage
- the resourceUsage to set
-