Interface StopInstanceQueue
-
- All Known Implementing Classes:
StopInstanceQueueImpl
public interface StopInstanceQueue
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StopInstanceQueue.StopInstanceData
-
Field Summary
Fields Modifier and Type Field Description static String
STOP_INSTANCE_TASK
static String
STOP_PROFILE_INSTANCES_TASK
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
stopAllInstances(Collection<CloudProfile> profiles, TerminateInstanceReason reason)
void
stopInstance(String projectId, String profileId, String imageId, String instanceId, TerminateInstanceReason reason)
void
stopProfileInstances(String projectId, String profileId, TerminateInstanceReason reason)
-
-
-
Field Detail
-
STOP_INSTANCE_TASK
static final String STOP_INSTANCE_TASK
- See Also:
- Constant Field Values
-
STOP_PROFILE_INSTANCES_TASK
static final String STOP_PROFILE_INSTANCES_TASK
- See Also:
- Constant Field Values
-
-
Method Detail
-
stopInstance
void stopInstance(@NotNull String projectId, @NotNull String profileId, @NotNull String imageId, @NotNull String instanceId, @NotNull TerminateInstanceReason reason)
-
stopAllInstances
void stopAllInstances(@NotNull Collection<CloudProfile> profiles, @NotNull TerminateInstanceReason reason) throws FailedToStopInstanceException
- Throws:
FailedToStopInstanceException
-
stopProfileInstances
void stopProfileInstances(@NotNull String projectId, @NotNull String profileId, @NotNull TerminateInstanceReason reason) throws FailedToStopInstanceException
- Throws:
FailedToStopInstanceException
-
-