Interface SpallocAPI.Jobs
- All Superinterfaces:
SpallocAPI.Waitable
- Enclosing interface:
- SpallocAPI
public static interface SpallocAPI.Jobs extends SpallocAPI.Waitable
Describes a list of jobs known to the allocator.
- Author:
- Donal Fellows
-
Method Summary
Modifier and Type Method Description Collection<Integer>
getChanged(Duration duration)
List<Integer>
ids()
List<SpallocAPI.Job>
jobs()
Methods inherited from interface uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.Waitable
waitForChange
-
Method Details
-
ids
- Returns:
- The job IDs.
-
jobs
List<SpallocAPI.Job> jobs()- Returns:
- The jobs. Simplified view only. (No keepalive host or owner information.)
-
getChanged
- Parameters:
duration
- How long to wait for a change.- Returns:
- The set of jobs that have changed.
-