Refactor metrics code.

This commit is contained in:
Chuanyi Li L
2018-08-07 17:17:33 +08:00
parent b5a1898cec
commit 40c3e65341
17 changed files with 462 additions and 320 deletions

View File

@@ -562,4 +562,23 @@ public class MemoryEventStoreWithBuffer extends AbstractCanalStoreScavenge imple
this.ddlIsolation = ddlIsolation;
}
public AtomicLong getPutSequence() {
return putSequence;
}
public AtomicLong getAckSequence() {
return ackSequence;
}
public AtomicLong getPutMemSize() {
return putMemSize;
}
public AtomicLong getAckMemSize() {
return ackMemSize;
}
public BatchMode getBatchMode() {
return batchMode;
}
}