public function resetConsumedUnits($table = null)
    {
        if (is_null($table)) {
            if (null !== $this->logger) {
                $this->log('Reset all consumed units counters');
            }
            $this->readUnit  = array();
            $this->writeUnit = array();
        } else {
            if (null !== $this->logger) {
                $this->log('Reset consumed units counters for table '.$table);
            }
            unset(
                $this->readUnit[$table],
                $this->writeUnit[$table]
            );
        }
    }