public class JVMStatusHelper extends AbstractLogEnabled implements Component, Serviceable, Initializable, MonitoringConstants
MonitoringConstants.Period
Modifier and Type | Field and Description |
---|---|
private I18nUtils |
_i18nUtils
Component containing i18n utilitary methods
|
private MonitoringExtensionPoint |
_monitoringExtensionPoint
The monitoring extension point
|
private String |
_rrdStoragePath |
FEEDING_PERIOD, RRD_EXT, RRD_STORAGE_DIRECTORY
Constructor and Description |
---|
JVMStatusHelper() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
garbageCollect()
Runs a garbage collector.
|
Map<String,Object> |
getGeneralStatus()
Retrieves information about the general status of the system
|
Map<String,Object> |
getMonitoringData()
Retrieves the monitoring data
|
void |
initialize() |
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private MonitoringExtensionPoint _monitoringExtensionPoint
private I18nUtils _i18nUtils
private String _rrdStoragePath
public JVMStatusHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public Map<String,Object> garbageCollect()
public Map<String,Object> getGeneralStatus()
public Map<String,Object> getMonitoringData()