Package io.openems.backend.alerting
Class Alerting
java.lang.Object
io.openems.backend.common.component.AbstractOpenemsBackendComponent
io.openems.backend.alerting.Alerting
- All Implemented Interfaces:
DebugLoggable
,org.osgi.service.event.EventHandler
public class Alerting
extends AbstractOpenemsBackendComponent
implements org.osgi.service.event.EventHandler, DebugLoggable
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionAlerting()
protected
Alerting
(Scheduler scheduler, ThreadPoolExecutor executor) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
debugLog()
Gets some output that is suitable for a continuous Debug log.Gets some output that is suitable for a debug metrics to write down asTimedata
.void
handleEvent
(org.osgi.service.event.Event event)
-
Field Details
-
metadata
-
mailer
-
handler
-
-
Constructor Details
-
Alerting
-
Alerting
public Alerting()
-
-
Method Details
-
activate
-
deactivate
protected void deactivate() -
handleEvent
public void handleEvent(org.osgi.service.event.Event event) - Specified by:
handleEvent
in interfaceorg.osgi.service.event.EventHandler
-
debugLog
Description copied from interface:DebugLoggable
Gets some output that is suitable for a continuous Debug log.- Specified by:
debugLog
in interfaceDebugLoggable
- Returns:
- the debug log output; null for no log
-
debugMetrics
Description copied from interface:DebugLoggable
Gets some output that is suitable for a debug metrics to write down asTimedata
.- Specified by:
debugMetrics
in interfaceDebugLoggable
- Returns:
- the key value entries to write down; null or emptyMap for no metrics
-