public class MonitoringService extends java.lang.Object implements IMonitoring
| Constructor and Description |
|---|
MonitoringService(BmContext context) |
| Modifier and Type | Method and Description |
|---|---|
Config |
getConfig()
TMP: fetches CPU and RAM information
|
MethodInformation |
getMethodInfo(java.lang.String plugin,
java.lang.String service,
java.lang.String method)
Fetches all information from a method belonging to a given service
|
PluginInformation |
getPluginInfo(java.lang.String plugin)
Fetches all information from a single given plugin
|
PluginsList |
getPluginsInfo()
Fetches a list of all information (plugin information, service
information, method information, server information) from every
monitoring plugin.
|
ServerInformation |
getServerInfo(java.lang.String plugin,
java.lang.String service,
java.lang.String method,
java.lang.String server)
Fetches information from a given method belonging to a specific server
|
ServiceInformation |
getServiceInfo(java.lang.String plugin,
java.lang.String service)
Fetches all information from a service belonging to a given plugin
|
public MonitoringService(BmContext context)
public PluginsList getPluginsInfo() throws java.lang.Exception
IMonitoringgetPluginsInfo in interface IMonitoringjava.lang.Exceptionpublic PluginInformation getPluginInfo(java.lang.String plugin) throws java.lang.Exception
IMonitoringgetPluginInfo in interface IMonitoringplugin - the plugin from which the information must be fetchedjava.lang.Exceptionpublic ServiceInformation getServiceInfo(java.lang.String plugin, java.lang.String service) throws java.lang.Exception
IMonitoringgetServiceInfo in interface IMonitoringplugin - the plugin containing the serviceservice - the service from which the information must be fetchedjava.lang.Exceptionpublic MethodInformation getMethodInfo(java.lang.String plugin, java.lang.String service, java.lang.String method) throws java.lang.Exception
IMonitoringgetMethodInfo in interface IMonitoringplugin - the plugin containing the serviceservice - the service containing the methodmethod - the method from which the information must be fetchedjava.lang.Exceptionpublic ServerInformation getServerInfo(java.lang.String plugin, java.lang.String service, java.lang.String method, java.lang.String server) throws java.lang.Exception
IMonitoringgetServerInfo in interface IMonitoringplugin - the plugin containing the serviceservice - the service containing the methodmethod - the method to be usedserver - the server from which the information must be fetchedjava.lang.Exceptionpublic Config getConfig() throws java.lang.Exception
IMonitoringgetConfig in interface IMonitoringjava.lang.ExceptionCopyright © 2021. All Rights Reserved.