Class: SuperInstance::Equipment::SwarmCoordinator::SwarmState
- Inherits:
-
Data
- Object
- Data
- SuperInstance::Equipment::SwarmCoordinator::SwarmState
- Defined in:
- lib/equipment/swarm_coordinator/swarm_coordinator.rb
Overview
Current state of the swarm
Instance Attribute Summary collapse
-
#active_agent_count ⇒ Object
readonly
Returns the value of attribute active_agent_count.
-
#active_tasks ⇒ Object
readonly
Returns the value of attribute active_tasks.
-
#completed_tasks_count ⇒ Object
readonly
Returns the value of attribute completed_tasks_count.
-
#failed_tasks_count ⇒ Object
readonly
Returns the value of attribute failed_tasks_count.
-
#last_updated ⇒ Object
readonly
Returns the value of attribute last_updated.
-
#metrics ⇒ Object
readonly
Returns the value of attribute metrics.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#swarm_id ⇒ Object
readonly
Returns the value of attribute swarm_id.
Instance Attribute Details
#active_agent_count ⇒ Object (readonly)
Returns the value of attribute active_agent_count
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def active_agent_count @active_agent_count end |
#active_tasks ⇒ Object (readonly)
Returns the value of attribute active_tasks
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def active_tasks @active_tasks end |
#completed_tasks_count ⇒ Object (readonly)
Returns the value of attribute completed_tasks_count
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def completed_tasks_count @completed_tasks_count end |
#failed_tasks_count ⇒ Object (readonly)
Returns the value of attribute failed_tasks_count
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def failed_tasks_count @failed_tasks_count end |
#last_updated ⇒ Object (readonly)
Returns the value of attribute last_updated
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def last_updated @last_updated end |
#metrics ⇒ Object (readonly)
Returns the value of attribute metrics
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def metrics @metrics end |
#status ⇒ Object (readonly)
Returns the value of attribute status
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def status @status end |
#swarm_id ⇒ Object (readonly)
Returns the value of attribute swarm_id
39 40 41 |
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39 def swarm_id @swarm_id end |