public class SystemUsageDataCollector extends HBBaseDataCollector implements org.springframework.beans.factory.InitializingBean
Runtime data of the system. Every Java application has a single instance of class
Runtime that allows the application to interface with the environment in which the application is running.
Runtime.freeMemory()Runtime.maxMemory()Runtime.totalMemory()| Constructor and Description |
|---|
SystemUsageDataCollector(String collectorId,
String collectorVersion,
String cronExpression) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
List<org.alfresco.heartbeat.datasender.HBData> |
collectData()
This method returns data to be collected.
|
void |
setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO) |
deregister, getCollectorId, getCollectorVersion, getCronExpression, register, setHbDataCollectorServicepublic void setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic List<org.alfresco.heartbeat.datasender.HBData> collectData()
HBBaseDataCollectorcollectData in class HBBaseDataCollectorHBDataCopyright © 2005–2018 Alfresco Software. All rights reserved.