use of com.emc.sa.service.vipr.file.tasks.PauseFileContinuousCopy in project coprhd-controller by CoprHD.
the class FileStorageUtils method removeFileContinuousCopy.
private static void removeFileContinuousCopy(URI fileId, URI continuousCopyId) {
if (isFileSystemWithActiveReplication(fileId)) {
execute(new PauseFileContinuousCopy(fileId, continuousCopyId, FileTechnologyType.LOCAL_MIRROR.name()));
}
Task<FileShareRestRep> task = execute(new DeactivateFileContinuousCopy(fileId, continuousCopyId, FileControllerConstants.DeleteTypeEnum.FULL.toString()));
addAffectedResource(task);
}
Aggregations