示例#1
0
 private long calculateRecordSize(Record record) {
   return sizeEstimator.getCost(record);
 }
示例#2
0
 private void resetSizeEstimator() {
   sizeEstimator.reset();
 }
示例#3
0
 private void updateSizeEstimator(long recordSize) {
   sizeEstimator.add(recordSize);
 }