question: private void persistUnManagedExportMasks ( List < UnManagedExportMask > unManagedExportMasksToCreate , List < UnManagedExportMask > unManagedExportMasksToUpdate , boolean flush ) { if ( null != unManagedExportMasksToCreate ) { if ( flush || ( unManagedExportMasksToCreate . size ( ) >= BATCH_SIZE ) ) { _partitionManager . insertInBatches ( unManagedExportMasksToCreate , BATCH_SIZE , _dbClient , UNMANAGED_EXPORT_MASK ) ; unManagedExportMasksToCreate . clear ( ) ; } } if ( null != unManagedExportMasksToUpdate ) { if ( flush || ( unManagedExportMasksToUpdate . size ( ) >= BATCH_SIZE ) ) { _partitionManager . updateInBatches ( unManagedExportMasksToUpdate , BATCH_SIZE , _dbClient , UNMANAGED_EXPORT_MASK ) ; unManagedExportMasksToUpdate . clear ( ) ; } } }
target:  Handles persisting UnManagedExportMasks in batches.