i_alertproducer.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 44 行

JAVA
44
字号
/*------------------------------------------------------------------------------Name:      I_AlertProducer.javaProject:   org.xmlBlasterProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.contrib.dbwatcher.detector;import org.xmlBlaster.contrib.I_Info;/** * Interface which hides a scheduler or a trigger.  * <p>  * The plugin needs to call {@link I_ChangeDetector#checkAgain(Map)} whenever * it thinks it's time to do so. * @author Marcel Ruff */public interface I_AlertProducer {   /**    * Needs to be called after construction.     * @param info The configuration environment    * @throws Exception Can be any plugin specific exception    */   void init(I_Info info, I_ChangeDetector changeDetector) throws Exception;      /**    * Starts the alert producer.     * @throws Exception of any type    */   void startProducing() throws Exception;   /**    * Sets the producer to standby.     * A call to #startProducing() starts it again     * @throws Exception of any type    */   void stopProducing() throws Exception;   /**    * Stop producing alerts and cleanup resources.     * @throws Exception of any type     */   void shutdown() throws Exception;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?