Class MonitorServiceImpl

java.lang.Object
org.craftercms.studio.impl.v2.service.monitor.MonitorServiceImpl
All Implemented Interfaces:
MonitorService

public class MonitorServiceImpl extends Object implements MonitorService
Default implementation for MonitorService.
Author:
jmendeza
  • Field Details

    • monitorServiceInternal

      protected final MonitorService monitorServiceInternal
  • Constructor Details

  • Method Details

    • getLogEvents

      public List<Map<String,Object>> getLogEvents(String siteId, long since)
      Description copied from interface: MonitorService
      Retrieves a list of global events logged since the timestamp indicated by since parameter
      Specified by:
      getLogEvents in interface MonitorService
      Parameters:
      since - timestamp. Events before this value will not be included.
      Returns:
      a list of log events
    • getDiskUsage

      public DiskStatus getDiskUsage()
      Description copied from interface: MonitorService
      Retrieves the disk usage stats
      Specified by:
      getDiskUsage in interface MonitorService
      Returns:
      a DiskStatus object containing the disk usage information