Uses of Interface
jetbrains.buildServer.clouds.CloudInstance
-
-
Uses of CloudInstance in jetbrains.buildServer.clouds
Methods in jetbrains.buildServer.clouds that return CloudInstance Modifier and Type Method Description CloudInstanceCloudClient. findInstanceByAgent(AgentDescription agent)Checks if the agent is an instnce of one of the running instances of that cloud profile.CloudInstanceCloudImage. findInstanceById(String id)Finds instance by instanceIdCloudInstanceCloudClientEx. startNewInstance(CloudImage image, CloudInstanceUserData tag)Starts a new virtual machine instanceMethods in jetbrains.buildServer.clouds that return types with arguments of type CloudInstance Modifier and Type Method Description Collection<? extends CloudInstance>CloudImage. getInstances()Returns all instances of the image.Methods in jetbrains.buildServer.clouds with parameters of type CloudInstance Modifier and Type Method Description StringAgentExpirationCondition. getProlongationReason(CloudProfile cloudProfile, CloudInstance cloudInstance, SBuildAgent agent)Checks whether the agent can be marked as expired and the corresponding cloud instance can be stoppeddefault voidCloudClientEx. restartInstance(CloudInstance instance)Restarts instance if possiblevoidCloudClientEx. terminateInstance(CloudInstance instance)Terminates instance. -
Uses of CloudInstance in jetbrains.buildServer.clouds.fakeCloud
Classes in jetbrains.buildServer.clouds.fakeCloud that implement CloudInstance Modifier and Type Class Description classDummyCloudInstanceMethods in jetbrains.buildServer.clouds.fakeCloud that return CloudInstance Modifier and Type Method Description CloudInstanceDummyCloudClient. findInstanceByAgent(AgentDescription agent)CloudInstanceDummyCloudImage. findInstanceById(String id)CloudInstanceDummyCloudClient. startNewInstance(CloudImage image, CloudInstanceUserData tag)Methods in jetbrains.buildServer.clouds.fakeCloud that return types with arguments of type CloudInstance Modifier and Type Method Description Collection<? extends CloudInstance>DummyCloudImage. getInstances()Methods in jetbrains.buildServer.clouds.fakeCloud with parameters of type CloudInstance Modifier and Type Method Description voidDummyCloudClient. restartInstance(CloudInstance instance)voidDummyCloudClient. terminateInstance(CloudInstance instance) -
Uses of CloudInstance in jetbrains.buildServer.clouds.server
Methods in jetbrains.buildServer.clouds.server that return CloudInstance Modifier and Type Method Description CloudInstanceCloudManager. findInstanceById(String projectId, String profileId, String instanceId)Returns instance by the specified identifier.CloudInstanceCloudInstanceManager. startInstance(String projectId, String profileId, String imageId, StartInstanceReason reason)Starts new agent instance for given profile and imageCloudInstanceCloudInstanceManager. startInstance(String profileId, String imageId, StartInstanceReason reason)Deprecated.Methods in jetbrains.buildServer.clouds.server that return types with arguments of type CloudInstance Modifier and Type Method Description default Pair<CloudProfile,CloudInstance>CloudAgentRelation. findInstanceByAgent(AgentDescription description)Deprecated.see class descriptionCloudAgentRelationPair<CloudProfile,CloudInstance>CloudAgentRelation. findInstanceByAgent(AgentDescription description, boolean searchEverywhere)Deprecated.see class descriptionCloudAgentRelationPair<CloudProfile,CloudInstance>CloudManager. findInstanceByAgent(AgentDescription agent)Checks if the agent is an instnce of one of the running instances.Map<AgentDescription,Pair<CloudProfile,CloudInstance>>CloudAgentRelation. findInstancesByAgents(Collection<? extends AgentDescription> descriptions)Deprecated.see class descriptionCloudAgentRelationMap<AgentDescription,Pair<CloudProfile,CloudInstance>>CloudManager. findInstancesByAgents(Collection<? extends AgentDescription> agents)Finds cloud instances (if any) for the collection of agentsMethods in jetbrains.buildServer.clouds.server with parameters of type CloudInstance Modifier and Type Method Description default Collection<SBuildAgent>CloudManager. findAgentByInstance(CloudProfile profile, CloudInstance instance)Deprecated.useCloudManager.findAgentByInstance(String, String)insteadvoidCloudEventAdapter. instanceAgentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)voidCloudEventListener. instanceAgentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)TeamCity started instance has been started and connected to TeamCity as build agent This event may be fired about same object for many times.voidCloudEventAdapter. instanceFailedToStop(CloudProfile profile, CloudInstance instance, Throwable cause)voidCloudEventListener. instanceFailedToStop(CloudProfile profile, CloudInstance instance, Throwable cause)Fired if an exception thrown while attempting to stop running instance.voidCloudEventAdapter. instanceStarting(CloudProfile profile, CloudInstance instance)voidCloudEventListener. instanceStarting(CloudProfile profile, CloudInstance instance)Agent start action has just been called.voidCloudEventAdapter. instanceStatusChanged(CloudProfile cloudProfile, CloudInstance instance)voidCloudEventListener. instanceStatusChanged(CloudProfile profile, CloudInstance instance)Notifies on cloud instance status changevoidCloudEventAdapter. instanceTerminating(CloudProfile profile, CloudInstance instance)voidCloudEventAdapter. instanceTerminating(CloudProfile profile, CloudInstance instance, TerminateInstanceReason reason)voidCloudEventListener. instanceTerminating(CloudProfile profile, CloudInstance instance)voidCloudEventListener. instanceTerminating(CloudProfile profile, CloudInstance instance, TerminateInstanceReason reason)TeamCity has called terminate instance command.default booleanCloudInstancesProvider. isInstanceExpired(CloudProfile profile, CloudInstance instance)Deprecated.default booleanCloudManager. isInstanceExpired(CloudProfile profile, CloudInstance instance)Deprecated.default voidCloudInstancesProvider. markInstanceExpired(CloudProfile profile, CloudInstance instance)default voidCloudManager. markInstanceExpired(CloudProfile profile, CloudInstance instance)Deprecated.booleanCloudInstancesProviderCallback. processInstance(CloudProfile profile, CloudInstance instance)Processes instance and indicates whether to process next allocated instancebooleanCloudInstancesProviderExtendedCallbackAdapter. processInstance(CloudProfile profile, CloudInstance instance)voidCloudInstancesProviderExtendedCallback. processInstanceError(CloudProfile profile, CloudInstance instance)Called if - instance error occouredvoidCloudInstancesProviderExtendedCallbackAdapter. processInstanceError(CloudProfile profile, CloudInstance instance)voidCloudInstancesProviderExtendedCallback. processInstanceExpired(CloudProfile profile, CloudClientEx client, CloudInstance instance)Called if - instance is expired and should be terminated waiting if necessary for the current build to finishvoidCloudInstancesProviderExtendedCallbackAdapter. processInstanceExpired(CloudProfile profile, CloudClientEx client, CloudInstance instance)default voidCloudInstancesProviderExtendedCallback. processInstanceMaintained(CloudProfile profile, CloudClientEx client, CloudInstance instance)Called if - instance is maintained (should not be terminated) -
Uses of CloudInstance in jetbrains.buildServer.clouds.server.impl
Classes in jetbrains.buildServer.clouds.server.impl that implement CloudInstance Modifier and Type Class Description static classCloudStateHolder.InstanceStateMethods in jetbrains.buildServer.clouds.server.impl with parameters of type CloudInstance Modifier and Type Method Description voidCloudEventsLogger. instanceAgentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)voidCloudEventsLogger. instanceFailedToStop(CloudProfile profile, CloudInstance instance, Throwable cause)voidCloudEventsLogger. instanceStarting(CloudProfile profile, CloudInstance instance)voidCloudEventsLogger. instanceStatusChanged(CloudProfile profile, CloudInstance instance)voidCloudEventsLogger. instanceTerminating(CloudProfile profile, CloudInstance instance)voidCloudEventsLogger. instanceTerminating(CloudProfile profile, CloudInstance instance, TerminateInstanceReason reason)booleanCloudStateHolder. processInstance(CloudProfile profile, CloudInstance instance)voidCloudStateHolder. processInstanceError(CloudProfile profile, CloudInstance instance)voidCloudStateHolder. processInstanceExpired(CloudProfile profile, CloudClientEx client, CloudInstance instance)voidCloudStateHolder. processInstanceMaintained(CloudProfile profile, CloudClientEx client, CloudInstance instance)voidBrokenClient. restartInstance(CloudInstance instance)voidBrokenClient. terminateInstance(CloudInstance instance)voidReadonlyClient. terminateInstance(CloudInstance instance)booleanCloudStateHolder.InstanceState. updateIfNecessary(CloudInstance instance, int agentId)returns true if instance was updated and false otherwiseMethod parameters in jetbrains.buildServer.clouds.server.impl with type arguments of type CloudInstance Modifier and Type Method Description protected CanStartNewInstanceResultCloudQuotaCheckerImpl. checkCanAddNewAgentToPool(AgentPool agentPool, Supplier<Collection<Pair<CloudProfile,CloudInstance>>> startingInstancesSupplier)Constructors in jetbrains.buildServer.clouds.server.impl with parameters of type CloudInstance Constructor Description InstanceState(CloudInstance instance, CloudStateHolder.ImageState imageState, int agentId) -
Uses of CloudInstance in jetbrains.buildServer.clouds.server.impl.instances
Classes in jetbrains.buildServer.clouds.server.impl.instances that implement CloudInstance Modifier and Type Class Description static classStartInstanceUserAction.StartingInstanceMethods in jetbrains.buildServer.clouds.server.impl.instances that return CloudInstance Modifier and Type Method Description protected CloudInstanceStartInstanceAction. doStartCloudInstance(CloudProfile profile, CloudClientEx client, CloudImage cloudImage, StartInstanceReason reason)CloudInstanceStartInstanceAction. startInstance(String projectId, String profileId, String imageId, StartInstanceReason reason)Methods in jetbrains.buildServer.clouds.server.impl.instances that return types with arguments of type CloudInstance Modifier and Type Method Description Collection<Pair<CloudProfile,CloudInstance>>RunningInstanceTrackerImpl. findAllStartingInstances()Constructors in jetbrains.buildServer.clouds.server.impl.instances with parameters of type CloudInstance Constructor Description MatchingInstanceTask(CloudProfile profile, CloudInstance instance, CloudEventDispatcher dispatcher)NonExistingInstance(CloudProfile profile, CloudInstance instance)RunningInstanceTask(CloudProfile profile, CloudInstance instance, CloudEventDispatcher dispatcher, BuildAgentManager agentManager, InstanceUpdateTaskFactory taskFactory, ServerResponsibility serverResponsibility, StartingCloudInstanceTokens startingCloudInstanceTokens, AuthorizedCloudInstances authorizedCloudInstances)StoppedInstanceTask(CloudProfile profile, CloudInstance instance, CloudEventDispatcher dispatcher, InstanceUpdateTaskFactory instanceFactory) -
Uses of CloudInstance in jetbrains.buildServer.clouds.server.impl.profile
Methods in jetbrains.buildServer.clouds.server.impl.profile that return CloudInstance Modifier and Type Method Description CloudInstanceCloudClientCanStartProxy. findInstanceByAgent(AgentDescription agent)CloudInstanceDisposingCloudClientProxy. findInstanceByAgent(AgentDescription agent)CloudInstanceCloudClientCanStartProxy. startNewInstance(CloudImage image, CloudInstanceUserData tag)CloudInstanceDisposingCloudClientProxy. startNewInstance(CloudImage image, CloudInstanceUserData tag)Methods in jetbrains.buildServer.clouds.server.impl.profile with parameters of type CloudInstance Modifier and Type Method Description voidCloudClientCanStartProxy. restartInstance(CloudInstance instance)voidDisposingCloudClientProxy. restartInstance(CloudInstance instance)voidCloudClientCanStartProxy. terminateInstance(CloudInstance instance)voidDisposingCloudClientProxy. terminateInstance(CloudInstance instance) -
Uses of CloudInstance in jetbrains.buildServer.clouds.server.impl.virtual
Constructors in jetbrains.buildServer.clouds.server.impl.virtual with parameters of type CloudInstance Constructor Description RunningVirtualAgent(StartableAgentTypeImpl parent, CloudInstance instance, Collection<SBuildAgent> agents) -
Uses of CloudInstance in jetbrains.buildServer.clouds.server.instances
Methods in jetbrains.buildServer.clouds.server.instances that return types with arguments of type CloudInstance Modifier and Type Method Description default Collection<Pair<CloudProfile,CloudInstance>>RunningAgentsTracker. findAllStartingInstances()Methods in jetbrains.buildServer.clouds.server.instances with parameters of type CloudInstance Modifier and Type Method Description default Collection<SBuildAgent>RunningAgentsTracker. findAgentByInstance(CloudProfile profile, CloudInstance instance)Deprecated. -
Uses of CloudInstance in jetbrains.buildServer.clouds.server.instances.terminate
Methods in jetbrains.buildServer.clouds.server.instances.terminate with parameters of type CloudInstance Modifier and Type Method Description static longIdleTimeoutTerminateFactory. getIdleMillis(SBuildAgent agent, CloudInstance instance, long currentTimeMillis, long serverStartTime)booleanInstanceTerminateCondition. isExpired(SBuildAgent agent, CloudProfile profile, CloudInstance instance)
-