Class SystemUsageDataCollector

java.lang.Object
org.alfresco.heartbeat.HBBaseDataCollector
org.alfresco.heartbeat.SystemUsageDataCollector
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class SystemUsageDataCollector extends HBBaseDataCollector implements org.springframework.beans.factory.InitializingBean
A collector of data related the 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.
Author:
eknizat
  • Constructor Details

  • Method Details

    • setCurrentRepoDescriptorDAO

      public void setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
    • setDataSource

      public void setDataSource(DataSource dataSource)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • collectData

      public List<org.alfresco.heartbeat.datasender.HBData> collectData()
      Description copied from class: HBBaseDataCollector
      This method returns data to be collected.
      Specified by:
      collectData in class HBBaseDataCollector
      Returns:
      List of HBData