question: public static void reconcileHLUs ( DbClient dbClient , ExportGroup exportGroup , ExportMask exportMask , Map < URI , Integer > volumeMap ) { if ( exportMask . getCreatedBySystem ( ) && exportMask . getVolumes ( ) != null ) { for ( URI boURI : volumeMap . keySet ( ) ) { String hlu = exportMask . returnVolumeHLU ( boURI ) ; _log . info ( String . format ( "ExportGroup %s (%s) update volume HLU: %s -> %s" , exportGroup . getLabel ( ) , exportGroup . getId ( ) , boURI , hlu ) ) ; exportGroup . addVolume ( boURI , Integer . parseInt ( hlu ) ) ; } reconcileExportGroupsHLUs ( dbClient , exportGroup ) ; } }
target:  This routine will examine the ExportGroup and ExportMask and attempt to reconcile its HLUs. This would include volumes in 'volumeMap' and any that appear to not have their HLUs filled in. For this routine we only care about ExportMasks that were created by the system. NOTE: ExportGroup is not persisted here.