Interface InstanceManager
- All Known Implementing Classes:
InstanceManagerImpl
public interface InstanceManager
-
Method Summary
Modifier and TypeMethodDescriptiondeployInstance(String template) Runs blocking.booleandestroyInstance(String handle) Runs blocking.@Nullable ServerInstancegetInstance(String handle) Runs blockingRuns blocking.
-
Method Details
-
deployInstance
Runs blocking. Deploys an instance of template. -
destroyInstance
Runs blocking.- Returns:
- if the instance was found
-
getInstances
List<ServerInstance> getInstances()Runs blocking.- Returns:
- list of running instances
-
getInstance
Runs blocking
-