private void setNameInternal(final String newName) throws IOException { writeCache.renameFile(fileId, newName + getExtension()); clusterPositionMap.rename(newName); config.name = newName; storageLocal.renameCluster(getName(), newName); setName(newName); ((OStorageConfigurationImpl) storageLocal.getConfiguration()).update(); }
private void setNameInternal(final String newName) throws IOException { writeCache.renameFile(fileId, newName + getExtension()); clusterPositionMap.rename(newName); config.name = newName; storageLocal.renameCluster(getName(), newName); setName(newName); ((OStorageConfigurationImpl) storageLocal.getConfiguration()).update(); }