Class AgentGroup

    • Constructor Detail

      • AgentGroup

        public AgentGroup​(UUID id,
                          AgentID agentID)
    • Method Detail

      • getId

        public final UUID getId()
      • getLocalAgentID

        public final AgentID getLocalAgentID()
      • getAllAgents

        public abstract Collection<AgentID> getAllAgents()
        A combination of all Ignite agent launched for both remoting (remote agent) or for running client jobs, plus the orchestrator
      • getClientAgents

        public final Collection<AgentID> getClientAgents()
        Returns:
        all Ignite agent spawned to run client code
      • getSpawnedAgents

        public final Collection<AgentID> getSpawnedAgents()
        Returns:
        all Ignite agent spawned that must be closed at the end
      • getRemoteAgentIDs

        public final Collection<AgentID> getRemoteAgentIDs()
        Only the Ignite nodes started remotely to control process launching, once per hostname. These are not the client agents.
      • size

        public final int size()
      • isEmpty

        public final boolean isEmpty()
      • contains

        public final boolean contains​(AgentID agentID)
      • forEach

        public final void forEach​(Consumer<? super AgentID> action)