mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Refactor metrics code.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user