Class ScheduleInfo
java.lang.Object
io.temporal.client.schedules.ScheduleInfo
-
Constructor Summary
ConstructorsConstructorDescriptionScheduleInfo(long numActions, long numActionsMissedCatchupWindow, long numActionsSkippedOverlap, List<ScheduleActionExecution> runningActions, List<ScheduleActionResult> recentActions, List<Instant> nextActionTimes, Instant createdAt, Instant lastUpdatedAt) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the time the schedule was created at.Get the last time the schedule was updated.Get a list of the next scheduled action times.longGet the number of actions taken by the schedule.longGet the number of actions skipped due to missing the catchup window.longGet the number of actions skipped due to overlap.Get a list of the most recent actions, oldest first.Get a list of currently running actions.inthashCode()toString()
-
Constructor Details
-
ScheduleInfo
public ScheduleInfo(long numActions, long numActionsMissedCatchupWindow, long numActionsSkippedOverlap, List<ScheduleActionExecution> runningActions, List<ScheduleActionResult> recentActions, List<Instant> nextActionTimes, Instant createdAt, Instant lastUpdatedAt)
-
-
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
Get a list of currently running actions.- Returns:
- list of currently running actions
-
getRecentActions
Get a list of the most recent actions, oldest first.- Returns:
- list of the most recent actions
-
getNextActionTimes
-
getCreatedAt
Get the time the schedule was created at.- Returns:
- time the schedule was created
-
getLastUpdatedAt
Get the last time the schedule was updated.- Returns:
- last time the schedule was updated
-
equals
-
hashCode
-
toString
-