Add size label for store metrics.

This commit is contained in:
Chuanyi Li
2018-08-13 21:03:30 +08:00
parent ec00792475
commit a3bf1d59e6
4 changed files with 13 additions and 8 deletions

View File

@@ -545,6 +545,9 @@ public class MemoryEventStoreWithBuffer extends AbstractCanalStoreScavenge imple
}
// ================ setter / getter ==================
public int getBufferSize() {
return this.bufferSize;
}
public void setBufferSize(int bufferSize) {
this.bufferSize = bufferSize;
@@ -563,22 +566,22 @@ public class MemoryEventStoreWithBuffer extends AbstractCanalStoreScavenge imple
}
public AtomicLong getPutSequence() {
return putSequence;
return this.putSequence;
}
public AtomicLong getAckSequence() {
return ackSequence;
return this.ackSequence;
}
public AtomicLong getPutMemSize() {
return putMemSize;
return this.putMemSize;
}
public AtomicLong getAckMemSize() {
return ackMemSize;
return this.ackMemSize;
}
public BatchMode getBatchMode() {
return batchMode;
return this.batchMode;
}
}