Class ScheduleInfo

java.lang.Object
io.temporal.client.schedules.ScheduleInfo

public final class ScheduleInfo extends Object
Information about a schedule.
  • Constructor Details

  • Method Details

    • getNumActions

      public long getNumActions()
      Get the number of actions taken by the schedule.
      Returns:
      number of actions taken
    • getNumActionsMissedCatchupWindow

      public long getNumActionsMissedCatchupWindow()
      Get the number of actions skipped due to missing the catchup window.
      Returns:
      number of actions skipped due to catchup window
    • getNumActionsSkippedOverlap

      public long getNumActionsSkippedOverlap()
      Get the number of actions skipped due to overlap.
      Returns:
      number of actions skipped due to overlap
    • getRunningActions

      public List<ScheduleActionExecution> getRunningActions()
      Get a list of currently running actions.
      Returns:
      list of currently running actions
    • getRecentActions

      public List<ScheduleActionResult> getRecentActions()
      Get a list of the most recent actions, oldest first.
      Returns:
      list of the most recent actions
    • getNextActionTimes

      public List<Instant> getNextActionTimes()
      Get a list of the next scheduled action times.
      Returns:
      list of the next recent times
    • getCreatedAt

      public Instant getCreatedAt()
      Get the time the schedule was created at.
      Returns:
      time the schedule was created
    • getLastUpdatedAt

      @Nullable public Instant getLastUpdatedAt()
      Get the last time the schedule was updated.
      Returns:
      last time the schedule was updated
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object