public class AlertManagerImporter extends Object
Transport is set up.PrometheusSyncTask from which we
took over code as we cannot hook into DAO)., Holger Eichelberger, SSE| Modifier and Type | Class and Description |
|---|---|
private class |
AlertManagerImporter.SyncTask
A sync task in the style of
PrometheusSyncTask as we cannot hook into the DAO with a
platform mechanism. |
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
logger |
private AlertManagerImporter.SyncTask |
syncTask |
private Timer |
timer |
| Constructor and Description |
|---|
AlertManagerImporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Starts the importer.
|
void |
stop()
Stops the importer.
|
private void |
synchronizeAlerts(List<si.matjazcerkvenik.alertmonitor.model.DEvent> alertList,
boolean psync)
Synchronizes the alerts with the platform.
|
private static org.slf4j.Logger logger
private Timer timer
private AlertManagerImporter.SyncTask syncTask
public void start()
private void synchronizeAlerts(List<si.matjazcerkvenik.alertmonitor.model.DEvent> alertList, boolean psync)
alertList - the alertspsync - comes from PSync (ignored)public void stop()
Copyright © 2022. All rights reserved.