Package de.kentoj.scrowlib.servermanager
Interface ServerManager
- All Known Implementing Classes:
CrownServerManager
public interface ServerManager
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<@NotNull ServerInstance> deployServer(String template) reactor.core.publisher.Mono<@NotNull Void> destroyServer(String handle) Attempts a clean shutdown, if that doesn't succeed, kills the server.reactor.core.publisher.Mono<@NotNull ServerInstance> reactor.core.publisher.Flux<@NotNull ServerInstance> reactor.core.publisher.Mono<@NotNull Void>
-
Method Details
-
deployServer
- Returns:
- Mono with handle of deployed server
-
destroyServer
Attempts a clean shutdown, if that doesn't succeed, kills the server. -
getRunningServers
reactor.core.publisher.Flux<@NotNull ServerInstance> getRunningServers()- Returns:
- Flux with handles of running servers
-
getInfo
-
setState
-