mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
typo, javadoc,code cleanup
This commit is contained in:
@@ -6,9 +6,9 @@ package com.alibaba.otter.canal.common;
|
||||
*/
|
||||
public interface CanalLifeCycle {
|
||||
|
||||
public void start();
|
||||
void start();
|
||||
|
||||
public void stop();
|
||||
void stop();
|
||||
|
||||
public boolean isStart();
|
||||
boolean isStart();
|
||||
}
|
||||
|
||||
@@ -14,8 +14,7 @@ public interface CanalAlarmHandler extends CanalLifeCycle {
|
||||
* 发送对应destination的报警
|
||||
*
|
||||
* @param destination
|
||||
* @param title
|
||||
* @param msg
|
||||
*/
|
||||
public void sendAlarm(String destination, String msg);
|
||||
void sendAlarm(String destination, String msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user