Class: SuperInstance::Equipment::SwarmCoordinator::SwarmState

Inherits:
Data
  • Object
show all
Defined in:
lib/equipment/swarm_coordinator/swarm_coordinator.rb

Overview

Current state of the swarm

Instance Attribute Summary collapse

Instance Attribute Details

#active_agent_countObject (readonly)

Returns the value of attribute active_agent_count

Returns:

  • (Object)

    the current value of 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_tasksObject (readonly)

Returns the value of attribute active_tasks

Returns:

  • (Object)

    the current value of active_tasks



39
40
41
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39

def active_tasks
  @active_tasks
end

#completed_tasks_countObject (readonly)

Returns the value of attribute completed_tasks_count

Returns:

  • (Object)

    the current value of 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_countObject (readonly)

Returns the value of attribute failed_tasks_count

Returns:

  • (Object)

    the current value of 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_updatedObject (readonly)

Returns the value of attribute last_updated

Returns:

  • (Object)

    the current value of last_updated



39
40
41
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39

def last_updated
  @last_updated
end

#metricsObject (readonly)

Returns the value of attribute metrics

Returns:

  • (Object)

    the current value of metrics



39
40
41
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39

def metrics
  @metrics
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



39
40
41
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39

def status
  @status
end

#swarm_idObject (readonly)

Returns the value of attribute swarm_id

Returns:

  • (Object)

    the current value of swarm_id



39
40
41
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 39

def swarm_id
  @swarm_id
end