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 CloudInstance
CloudClient. findInstanceByAgent(AgentDescription agent)
Checks if the agent is an instnce of one of the running instances of that cloud profile.CloudInstance
CloudImage. findInstanceById(String id)
Finds instance by instanceIdCloudInstance
CloudClientEx. 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 String
AgentExpirationCondition. getProlongationReason(CloudProfile cloudProfile, CloudInstance cloudInstance, SBuildAgent agent)
Checks whether the agent can be marked as expired and the corresponding cloud instance can be stoppeddefault void
CloudClientEx. restartInstance(CloudInstance instance)
Restarts instance if possiblevoid
CloudClientEx. 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 class
DummyCloudInstance
Methods in jetbrains.buildServer.clouds.fakeCloud that return CloudInstance Modifier and Type Method Description CloudInstance
DummyCloudClient. findInstanceByAgent(AgentDescription agent)
CloudInstance
DummyCloudImage. findInstanceById(String id)
CloudInstance
DummyCloudClient. 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 void
DummyCloudClient. restartInstance(CloudInstance instance)
void
DummyCloudClient. 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 CloudInstance
CloudManager. findInstanceById(String projectId, String profileId, String instanceId)
Returns instance by the specified identifier.CloudInstance
CloudInstanceManager. startInstance(String projectId, String profileId, String imageId, StartInstanceReason reason)
Starts new agent instance for given profile and imageCloudInstance
CloudInstanceManager. 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 descriptionCloudAgentRelation
Pair<CloudProfile,CloudInstance>
CloudAgentRelation. findInstanceByAgent(AgentDescription description, boolean searchEverywhere)
Deprecated.see class descriptionCloudAgentRelation
Pair<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 descriptionCloudAgentRelation
Map<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)
insteadvoid
CloudEventAdapter. instanceAgentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)
void
CloudEventListener. 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.void
CloudEventAdapter. instanceFailedToStop(CloudProfile profile, CloudInstance instance, Throwable cause)
void
CloudEventListener. instanceFailedToStop(CloudProfile profile, CloudInstance instance, Throwable cause)
Fired if an exception thrown while attempting to stop running instance.void
CloudEventAdapter. instanceStarting(CloudProfile profile, CloudInstance instance)
void
CloudEventListener. instanceStarting(CloudProfile profile, CloudInstance instance)
Agent start action has just been called.void
CloudEventAdapter. instanceStatusChanged(CloudProfile cloudProfile, CloudInstance instance)
void
CloudEventListener. instanceStatusChanged(CloudProfile profile, CloudInstance instance)
Notifies on cloud instance status changevoid
CloudEventAdapter. instanceTerminating(CloudProfile profile, CloudInstance instance)
void
CloudEventAdapter. instanceTerminating(CloudProfile profile, CloudInstance instance, TerminateInstanceReason reason)
void
CloudEventListener. instanceTerminating(CloudProfile profile, CloudInstance instance)
void
CloudEventListener. instanceTerminating(CloudProfile profile, CloudInstance instance, TerminateInstanceReason reason)
TeamCity has called terminate instance command.default boolean
CloudInstancesProvider. isInstanceExpired(CloudProfile profile, CloudInstance instance)
Deprecated.default boolean
CloudManager. isInstanceExpired(CloudProfile profile, CloudInstance instance)
Deprecated.default void
CloudInstancesProvider. markInstanceExpired(CloudProfile profile, CloudInstance instance)
default void
CloudManager. markInstanceExpired(CloudProfile profile, CloudInstance instance)
Deprecated.boolean
CloudInstancesProviderCallback. processInstance(CloudProfile profile, CloudInstance instance)
Processes instance and indicates whether to process next allocated instanceboolean
CloudInstancesProviderExtendedCallbackAdapter. processInstance(CloudProfile profile, CloudInstance instance)
void
CloudInstancesProviderExtendedCallback. processInstanceError(CloudProfile profile, CloudInstance instance)
Called if - instance error occouredvoid
CloudInstancesProviderExtendedCallbackAdapter. processInstanceError(CloudProfile profile, CloudInstance instance)
void
CloudInstancesProviderExtendedCallback. processInstanceExpired(CloudProfile profile, CloudClientEx client, CloudInstance instance)
Called if - instance is expired and should be terminated waiting if necessary for the current build to finishvoid
CloudInstancesProviderExtendedCallbackAdapter. processInstanceExpired(CloudProfile profile, CloudClientEx client, CloudInstance instance)
default void
CloudInstancesProviderExtendedCallback. 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 class
CloudStateHolder.InstanceState
Methods in jetbrains.buildServer.clouds.server.impl with parameters of type CloudInstance Modifier and Type Method Description void
CloudEventsLogger. instanceAgentMatched(CloudProfile profile, CloudInstance instance, SBuildAgent agent)
void
CloudEventsLogger. instanceFailedToStop(CloudProfile profile, CloudInstance instance, Throwable cause)
void
CloudEventsLogger. instanceStarting(CloudProfile profile, CloudInstance instance)
void
CloudEventsLogger. instanceStatusChanged(CloudProfile profile, CloudInstance instance)
void
CloudEventsLogger. instanceTerminating(CloudProfile profile, CloudInstance instance)
void
CloudEventsLogger. instanceTerminating(CloudProfile profile, CloudInstance instance, TerminateInstanceReason reason)
boolean
CloudStateHolder. processInstance(CloudProfile profile, CloudInstance instance)
void
CloudStateHolder. processInstanceError(CloudProfile profile, CloudInstance instance)
void
CloudStateHolder. processInstanceExpired(CloudProfile profile, CloudClientEx client, CloudInstance instance)
void
CloudStateHolder. processInstanceMaintained(CloudProfile profile, CloudClientEx client, CloudInstance instance)
void
BrokenClient. restartInstance(CloudInstance instance)
void
BrokenClient. terminateInstance(CloudInstance instance)
void
ReadonlyClient. terminateInstance(CloudInstance instance)
boolean
CloudStateHolder.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 CanStartNewInstanceResult
CloudQuotaCheckerImpl. 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 class
StartInstanceUserAction.StartingInstance
Methods in jetbrains.buildServer.clouds.server.impl.instances that return CloudInstance Modifier and Type Method Description protected CloudInstance
StartInstanceAction. doStartCloudInstance(CloudProfile profile, CloudClientEx client, CloudImage cloudImage, StartInstanceReason reason)
CloudInstance
StartInstanceAction. 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 CloudInstance
CloudClientCanStartProxy. findInstanceByAgent(AgentDescription agent)
CloudInstance
DisposingCloudClientProxy. findInstanceByAgent(AgentDescription agent)
CloudInstance
CloudClientCanStartProxy. startNewInstance(CloudImage image, CloudInstanceUserData tag)
CloudInstance
DisposingCloudClientProxy. startNewInstance(CloudImage image, CloudInstanceUserData tag)
Methods in jetbrains.buildServer.clouds.server.impl.profile with parameters of type CloudInstance Modifier and Type Method Description void
CloudClientCanStartProxy. restartInstance(CloudInstance instance)
void
DisposingCloudClientProxy. restartInstance(CloudInstance instance)
void
CloudClientCanStartProxy. terminateInstance(CloudInstance instance)
void
DisposingCloudClientProxy. 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 long
IdleTimeoutTerminateFactory. getIdleMillis(SBuildAgent agent, CloudInstance instance, long currentTimeMillis, long serverStartTime)
boolean
InstanceTerminateCondition. isExpired(SBuildAgent agent, CloudProfile profile, CloudInstance instance)
-