code: protected void accumulatePersistedRepositoryChanges(long delta)
     {
        long dataSize = 0;
        try
        {
           dataSize = quotaPersister.getRepositoryDataSize(rName);
        }
        catch (UnknownDataSizeException e)
        {
           if (LOG.isTraceEnabled())
           {
              LOG.trace(e.getMessage(), e);
           }
        }
  
        long newDataSize = Math.max(dataSize + delta, 0); // to avoid possible inconsistency
        quotaPersister.setRepositoryDataSize(rName, newDataSize);
     }
docs: Update repository data size.