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 Details

    • ids

      List<Integer> ids()
      Returns:
      The job IDs.
    • jobs

      Returns:
      The jobs. Simplified view only. (No keepalive host or owner information.)
    • getChanged

      Collection<Integer> getChanged(Duration duration)
      Parameters:
      duration - How long to wait for a change.
      Returns:
      The set of jobs that have changed.