question: public void deleteStorage ( StorageData storageData ) throws BusinessException , IOException { StorageData local = getLocalStorageDataObject ( storageData ) ; synchronized ( local ) { if ( ( storageRecorder . isRecordingOn ( ) || storageRecorder . isRecordingScheduled ( ) ) && Objects . equals ( local , recorderStorageData ) ) { throw new BusinessException ( "Delete the storage " + local + "." , StorageErrorCodeEnum . STORAGE_ALREADY_CLOSED ) ; } if ( local . isStorageOpened ( ) ) { StorageWriter writer = openedStoragesMap . get ( local ) ; if ( writer != null ) { writer . cancel ( ) ; } openedStoragesMap . remove ( local ) ; } deleteCompleteStorageDataFromDisk ( local ) ; existingStoragesSet . remove ( local ) ; } }
target:  Deletes a storage information and files from disk.