doc
This commit is contained in:
parent
b9a092153d
commit
94061dbb8e
1 changed files with 10 additions and 1 deletions
|
|
@ -6,18 +6,27 @@ import java.util.List;
|
|||
|
||||
public interface InstanceManager {
|
||||
|
||||
/**
|
||||
* Runs blocking.
|
||||
* Deploys an instance of template.
|
||||
*/
|
||||
ServerInstance deployInstance(String template);
|
||||
|
||||
/**
|
||||
* Runs blocking.
|
||||
* @return if the instance was found
|
||||
*/
|
||||
boolean destroyInstance(String handle);
|
||||
|
||||
/**
|
||||
* @return Flux with handles of running servers
|
||||
* Runs blocking.
|
||||
* @return list of running instances
|
||||
*/
|
||||
List<ServerInstance> getInstances();
|
||||
|
||||
/**
|
||||
* Runs blocking
|
||||
*/
|
||||
@Nullable
|
||||
ServerInstance getInstance(String handle);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue