@InterfaceAudience.Private @InterfaceStability.Evolving public interface BackupCopyService
Modifier and Type | Interface and Description |
---|---|
static class |
BackupCopyService.Type |
Modifier and Type | Method and Description |
---|---|
void |
cancelCopyJob(String jobHandler)
Cancel copy job
|
int |
copy(BackupInfo backupContext,
BackupManager backupManager,
Configuration conf,
BackupCopyService.Type copyType,
String[] options)
Copy backup data
|
int copy(BackupInfo backupContext, BackupManager backupManager, Configuration conf, BackupCopyService.Type copyType, String[] options) throws IOException
backupContext
- - contextbackupManager
- - managerconf
- - configurationcopyType
- - copy typeoptions
- - array of options (implementation-specific)IOException
void cancelCopyJob(String jobHandler) throws IOException
jobHandler
- - copy job handlerIOException