public interface ServiceAdminMBean
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfActiveServices()
Get the currently active number of services
|
int |
getNumberOfFaultyServices()
Get the number of faulty services
|
int |
getNumberOfInactiveServices()
Get the currently inactive number of services
|
void |
startService(String serviceName)
Start the service specified by
serviceName |
void |
stopService(String serviceName)
Stop the service specified by
serviceName |
int getNumberOfActiveServices() throws Exception
Exception
- If an error occurs while getting the service countint getNumberOfInactiveServices() throws Exception
Exception
- If an error occurs while getting the service countint getNumberOfFaultyServices() throws Exception
Exception
- If an error occursvoid startService(String serviceName) throws Exception
serviceName
serviceName
- Name of the service to be restartedException
- If an error occurs while starting the serviceCopyright © 2023 WSO2. All rights reserved.