public interface ServicesService
| Modifier and Type | Method and Description |
|---|---|
ExtService |
disableService(String binary,
String host)
Disables a service.
|
ExtService |
enableService(String binary,
String host)
Enables a compute services.
|
ExtService |
forceDownService(String binary,
String host)
Forcefully shuts down a service.
|
ExtService |
forceUpService(String binary,
String host)
Forcefully brings up a service.
|
List<? extends Service> |
list()
List services info
|
List<? extends Service> |
list(Map<String,String> filteringParams)
Returns list of compute services filtered by parameters.
|
List<? extends Service> list()
NOTE: This is an extension and not all deployments support os-services
List<? extends Service> list(Map<String,String> filteringParams)
filteringParams - map (name, value) of filtering parametersExtService enableService(String binary, String host)
binary - the name of the service binary that you want to enablehost - the host name of the service that you want to enableExtService disableService(String binary, String host)
binary - the name of the service binary that you want to disablehost - the host name of the service that you want to disableExtService forceDownService(String binary, String host)
binary - the name of the service binary that you want to shutdownhost - the host name of the service that you want to shutdownExtService forceUpService(String binary, String host)
binary - the name of the service binary that you want to bring uphost - the host name of the service that you want to bring upCopyright © 2021. All rights reserved.