public class S3ObjectRecoveryService extends AbstractObjectRecoveryService
backupRepo, integrationLogger, loadFile, recoveryRepo, sourceRepo| Constructor and Description |
|---|
S3ObjectRecoveryService(DataObject loadFile,
java.lang.String sourceRepo,
java.util.Map loadCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRecovery()
deletes recovery file, folder and creates Backup file.
|
java.lang.String |
readRecoveryUnit()
Read recovery file.
|
void |
releaseResources()
close the file handle
|
boolean |
startRecovery()
Creates a recovery file in the recovery folder
|
void |
writeRecoveryUnit(java.lang.String unit)
write recovery content
|
public S3ObjectRecoveryService(DataObject loadFile, java.lang.String sourceRepo, java.util.Map loadCtx)
public boolean startRecovery()
throws java.lang.Exception
ObjectRecoveryServicejava.lang.Exceptionpublic void endRecovery()
throws java.lang.Exception
ObjectRecoveryServicejava.lang.Exceptionpublic void releaseResources()
ObjectRecoveryServicepublic void writeRecoveryUnit(java.lang.String unit)
throws java.lang.Exception
ObjectRecoveryServicejava.lang.Exceptionpublic java.lang.String readRecoveryUnit()
throws java.lang.Exception
ObjectRecoveryServicejava.lang.Exception