psdi.iface.load

Class S3ObjectRecoveryService

    • Constructor Detail

      • S3ObjectRecoveryService

        public S3ObjectRecoveryService(DataObject loadFile,
                                       java.lang.String sourceRepo,
                                       java.util.Map loadCtx)
    • Method Detail

      • startRecovery

        public boolean startRecovery()
                              throws java.lang.Exception
        Description copied from interface: ObjectRecoveryService
        Creates a recovery file in the recovery folder
        Returns:
        boolean
        Throws:
        java.lang.Exception
      • endRecovery

        public void endRecovery()
                         throws java.lang.Exception
        Description copied from interface: ObjectRecoveryService
        deletes recovery file, folder and creates Backup file.
        Throws:
        java.lang.Exception
      • releaseResources

        public void releaseResources()
        Description copied from interface: ObjectRecoveryService
        close the file handle
      • writeRecoveryUnit

        public void writeRecoveryUnit(java.lang.String unit)
                               throws java.lang.Exception
        Description copied from interface: ObjectRecoveryService
        write recovery content
        Throws:
        java.lang.Exception
      • readRecoveryUnit

        public java.lang.String readRecoveryUnit()
                                          throws java.lang.Exception
        Description copied from interface: ObjectRecoveryService
        Read recovery file.
        Returns:
        String line number
        Throws:
        java.lang.Exception