Class AlertManagerHandler
- java.lang.Object
-
- org.apache.iotdb.db.engine.trigger.sink.alertmanager.AlertManagerHandler
-
- All Implemented Interfaces:
Handler<AlertManagerConfiguration,AlertManagerEvent>
public class AlertManagerHandler extends java.lang.Object implements Handler<AlertManagerConfiguration,AlertManagerEvent>
-
-
Constructor Summary
Constructors Constructor Description AlertManagerHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidonEvent(AlertManagerEvent event)voidopen(AlertManagerConfiguration configuration)
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceHandler<AlertManagerConfiguration,AlertManagerEvent>- Throws:
java.io.IOException
-
open
public void open(AlertManagerConfiguration configuration)
- Specified by:
openin interfaceHandler<AlertManagerConfiguration,AlertManagerEvent>
-
onEvent
public void onEvent(AlertManagerEvent event) throws SinkException
- Specified by:
onEventin interfaceHandler<AlertManagerConfiguration,AlertManagerEvent>- Throws:
SinkException
-
-