Interface GetJobQueueSnapshotResponse.Builder

  • Method Details

    • frontOfQueue

      The list of the first 100 RUNNABLE jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.

      Parameters:
      frontOfQueue - The list of the first 100 RUNNABLE jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frontOfQueue

      The list of the first 100 RUNNABLE jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.

      This is a convenience method that creates an instance of the FrontOfQueueDetail.Builder avoiding the need to create one manually via FrontOfQueueDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to frontOfQueue(FrontOfQueueDetail).

      Parameters:
      frontOfQueue - a consumer that will call methods on FrontOfQueueDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: