Interface RunningAgentsTrackerEx
-
- All Superinterfaces:
RunningAgentsTracker
- All Known Implementing Classes:
RunningInstanceTrackerImpl
public interface RunningAgentsTrackerEx extends RunningAgentsTracker
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pair<String,String>
findMatchedInstanceByAgent(SBuildAgent agent)
This method searches for the already matched instance vs given agent.-
Methods inherited from interface jetbrains.buildServer.clouds.server.instances.RunningAgentsTracker
findAgentByInstance, findAgentByInstance, findAllStartingInstances
-
-
-
-
Method Detail
-
findMatchedInstanceByAgent
@Nullable Pair<String,String> findMatchedInstanceByAgent(@NotNull SBuildAgent agent)
This method searches for the already matched instance vs given agent. UnlikeCloudAgentRelation.findInstanceByAgent(AgentDescription, boolean)
it returns correct instance for the disconnected agents, because it doesn't rely on AgentDescription from AgentType- Parameters:
agent
-- Returns:
-
-