Class ListScheduleListDescriptionIterator

java.lang.Object
io.temporal.internal.client.EagerPaginator<io.temporal.api.workflowservice.v1.ListSchedulesResponse,io.temporal.api.schedule.v1.ScheduleListEntry>
io.temporal.client.ListScheduleListDescriptionIterator
All Implemented Interfaces:
Iterator<io.temporal.api.schedule.v1.ScheduleListEntry>

public final class ListScheduleListDescriptionIterator extends EagerPaginator<io.temporal.api.workflowservice.v1.ListSchedulesResponse,io.temporal.api.schedule.v1.ScheduleListEntry>
Eager iterator for listing schedules.
  • Constructor Details

    • ListScheduleListDescriptionIterator

      public ListScheduleListDescriptionIterator(@Nonnull String namespace, @Nullable Integer pageSize, @Nonnull GenericWorkflowClient genericClient)
    • ListScheduleListDescriptionIterator

      public ListScheduleListDescriptionIterator(@Nonnull String namespace, @Nullable String query, @Nullable Integer pageSize, @Nonnull GenericWorkflowClient genericClient)
  • Method Details

    • performRequest

      protected CompletableFuture<io.temporal.api.workflowservice.v1.ListSchedulesResponse> performRequest(@Nonnull com.google.protobuf.ByteString nextPageToken)
      Specified by:
      performRequest in class EagerPaginator<io.temporal.api.workflowservice.v1.ListSchedulesResponse,io.temporal.api.schedule.v1.ScheduleListEntry>
    • getNextPageToken

      protected com.google.protobuf.ByteString getNextPageToken(io.temporal.api.workflowservice.v1.ListSchedulesResponse response)
      Specified by:
      getNextPageToken in class EagerPaginator<io.temporal.api.workflowservice.v1.ListSchedulesResponse,io.temporal.api.schedule.v1.ScheduleListEntry>
    • toElements

      protected List<io.temporal.api.schedule.v1.ScheduleListEntry> toElements(io.temporal.api.workflowservice.v1.ListSchedulesResponse response)
      Specified by:
      toElements in class EagerPaginator<io.temporal.api.workflowservice.v1.ListSchedulesResponse,io.temporal.api.schedule.v1.ScheduleListEntry>