Class MonitorServiceImpl
java.lang.Object
org.craftercms.studio.impl.v2.service.monitor.MonitorServiceImpl
- All Implemented Interfaces:
MonitorService
Default implementation for
MonitorService
.- Author:
- jmendeza
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the disk usage statsgetLogEvents
(String siteId, long since) Retrieves a list of global events logged since the timestamp indicated bysince
parameter
-
Field Details
-
monitorServiceInternal
-
-
Constructor Details
-
MonitorServiceImpl
@ConstructorProperties("monitorServiceInternal") public MonitorServiceImpl(MonitorService monitorServiceInternal)
-
-
Method Details
-
getLogEvents
Description copied from interface:MonitorService
Retrieves a list of global events logged since the timestamp indicated bysince
parameter- Specified by:
getLogEvents
in interfaceMonitorService
- Parameters:
since
- timestamp. Events before this value will not be included.- Returns:
- a list of log events
-
getDiskUsage
Description copied from interface:MonitorService
Retrieves the disk usage stats- Specified by:
getDiskUsage
in interfaceMonitorService
- Returns:
- a
DiskStatus
object containing the disk usage information
-