Class CloudInstancesDBPersistor
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.CloudInstancesDBPersistor
-
- All Implemented Interfaces:
CloudInstancesPersistor
public class CloudInstancesDBPersistor extends Object implements CloudInstancesPersistor
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMAGE_CHANGED
static String
INSTANCE_CHANGED
static String
PROFILE_ERR_INFO
static String
PROFILE_RELOADED
-
Constructor Summary
Constructors Constructor Description CloudInstancesDBPersistor(SQLRunnerEx sql, MultiNodesEvents multiNodesEvents, CloudStateHolder cloudStateHolder, CloudManagerBase cloudManagerBase, BuildAgentManager buildAgentManager, RunningInstanceTrackerImpl runningInstancesTracker, CloudInstancesProvider cloudInstancesProvider, TimeService timeService, EventDispatcher<BuildServerListener> eventDispatcher, CloudEventDispatcher cloudEventDispatcher, ServerResponsibility serverResponsibility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDetectNewImageInstances(CloudStateHolder.ImageStateKey imageStateKey)
void
tryDetectNewInstances(String projectId, String profileId, String imageId, Runnable callback)
-
-
-
Field Detail
-
PROFILE_RELOADED
public static final String PROFILE_RELOADED
- See Also:
- Constant Field Values
-
PROFILE_ERR_INFO
public static final String PROFILE_ERR_INFO
- See Also:
- Constant Field Values
-
IMAGE_CHANGED
public static final String IMAGE_CHANGED
- See Also:
- Constant Field Values
-
INSTANCE_CHANGED
public static final String INSTANCE_CHANGED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CloudInstancesDBPersistor
public CloudInstancesDBPersistor(@NotNull SQLRunnerEx sql, @NotNull MultiNodesEvents multiNodesEvents, @NotNull CloudStateHolder cloudStateHolder, @NotNull CloudManagerBase cloudManagerBase, @NotNull BuildAgentManager buildAgentManager, @NotNull RunningInstanceTrackerImpl runningInstancesTracker, @NotNull CloudInstancesProvider cloudInstancesProvider, @NotNull TimeService timeService, @NotNull EventDispatcher<BuildServerListener> eventDispatcher, @NotNull CloudEventDispatcher cloudEventDispatcher, @NotNull ServerResponsibility serverResponsibility)
-
-
Method Detail
-
tryDetectNewInstances
public void tryDetectNewInstances(@NotNull String projectId, @NotNull String profileId, @NotNull String imageId, @NotNull Runnable callback)
- Specified by:
tryDetectNewInstances
in interfaceCloudInstancesPersistor
-
doDetectNewImageInstances
protected void doDetectNewImageInstances(@NotNull CloudStateHolder.ImageStateKey imageStateKey)
-
-