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 forMonitorService
.- Author:
- jmendeza
-
-
Field Summary
Fields Modifier and Type Field Description protected MonitorService
monitorServiceInternal
-
Constructor Summary
Constructors Constructor Description MonitorServiceImpl(MonitorService monitorServiceInternal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>
getLogEvents(String siteId, long since)
Retrieves a list of global events logged since the timestamp indicated bysince
parameter
-
-
-
Field Detail
-
monitorServiceInternal
protected final MonitorService monitorServiceInternal
-
-
Constructor Detail
-
MonitorServiceImpl
@ConstructorProperties("monitorServiceInternal") public MonitorServiceImpl(MonitorService monitorServiceInternal)
-
-
Method Detail
-
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 bysince
parameter- Specified by:
getLogEvents
in interfaceMonitorService
since
- timestamp. Events before this value will not be included.- Returns:
- a list of log events
-
-