@Override
  public void addScanResultCells(final List<Cell> cells) {
    operationSize[OperationType.SCAN.ordinal()] += QuotaUtil.calculateCellsSize(cells);
  }
NOTE: The order matters. It should be something like [user, table, namespace, global]
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/DefaultOperationQuota.java