protected void accumulatePersistedWorkspaceChanges ( long delta ) throws QuotaManagerException { long dataSize = 0 ; try { dataSize = quotaPersister . getWorkspaceDataSize ( rName , wsName ) ; } catch ( UnknownDataSizeException e ) { if ( LOG . isTraceEnabled ( ) ) { LOG . trace ( e . getMessage ( ) , e ) ; } } long newDataSize = Math . max ( dataSize + delta , 0 ) ; // avoid possible inconsistency quotaPersister . setWorkspaceDataSize ( rName , wsName , newDataSize ) ; }
Update workspace data size .