Class: Temporalio::Client::Schedule::Info

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/client/schedule.rb,
lib/temporalio/client/schedule.rb

Overview

Information about a schedule.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

Returns When the schedule was created.

Returns:

  • (Time)

    When the schedule was created.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def created_at
  @created_at
end

#last_updated_atTime?

Returns When the schedule was last updated.

Returns:

  • (Time, nil)

    When the schedule was last updated.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def last_updated_at
  @last_updated_at
end

#next_action_timesArray<Time>

Returns Next 10 scheduled action times.

Returns:

  • (Array<Time>)

    Next 10 scheduled action times.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def next_action_times
  @next_action_times
end

#num_actionsInteger

Returns Number of actions taken by this schedule.

Returns:

  • (Integer)

    Number of actions taken by this schedule.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def num_actions
  @num_actions
end

#num_actions_missed_catchup_windowInteger

Returns Number of times an action was skipped due to missing the catchup window.

Returns:

  • (Integer)

    Number of times an action was skipped due to missing the catchup window.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def num_actions_missed_catchup_window
  @num_actions_missed_catchup_window
end

#num_actions_skipped_overlapInteger

Returns Number of actions skipped due to overlap.

Returns:

  • (Integer)

    Number of actions skipped due to overlap.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def num_actions_skipped_overlap
  @num_actions_skipped_overlap
end

#recent_actionsArray<ActionResult>

Returns 10 most recent actions, oldest first.

Returns:

  • (Array<ActionResult>)

    10 most recent actions, oldest first.



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def recent_actions
  @recent_actions
end

#running_actionsArray<ActionExecution>

Returns Currently running actions.

Returns:



131
132
133
# File 'lib/temporalio/client/schedule.rb', line 131

def running_actions
  @running_actions
end