From 7cf9781edf66c75570af378a96b4011ff63ada92 Mon Sep 17 00:00:00 2001 From: duxinglangzi <871364441@qq.com> Date: 星期一, 16 五月 2022 13:07:01 +0800 Subject: [PATCH] 格式化 --- src/main/java/com/duxinglangzi/canal/starter/container/AbstractCanalTransponderContainer.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/duxinglangzi/canal/starter/container/AbstractCanalTransponderContainer.java b/src/main/java/com/duxinglangzi/canal/starter/container/AbstractCanalTransponderContainer.java index 2ded94c..9cfe177 100644 --- a/src/main/java/com/duxinglangzi/canal/starter/container/AbstractCanalTransponderContainer.java +++ b/src/main/java/com/duxinglangzi/canal/starter/container/AbstractCanalTransponderContainer.java @@ -10,6 +10,7 @@ /** * 鎶借薄鐨刢anal transponder ,瀹炵幇SmartLifecycle鎺ュ彛,澹版槑鍛ㄦ湡鐢眘pring杩涜绠$悊 + * * @author wuqiong 2022/4/11 */ public abstract class AbstractCanalTransponderContainer implements SmartLifecycle { @@ -21,7 +22,9 @@ CanalEntry.EntryType.HEARTBEAT); protected abstract void doStart(); + protected abstract void initConnect(); + protected abstract void disconnect(); @@ -55,7 +58,7 @@ return isRunning; } - protected void setRunning(boolean bool){ + protected void setRunning(boolean bool) { isRunning = bool; } -- Gitblit v1.8.0