Interface ITwoPhaseIOTransaction

All Superinterfaces:
ITwoPhaseTransaction
All Known Implementing Classes:
AbstractTwoPhaseIOTransaction, DirectDirectoryCreateTransaction, DirectDirectoryDeleteTransaction, DirectDirectoryTransaction, DirectFileCopyTransaction, DirectFileDeleteTransaction, DirectFileMoveTransaction, IndirectDeleteDirectoryTransaction, IndirectDeleteFileTransaction, IndirectDirectoryCreateTransaction, IndirectDirectoryTransaction, IndirectFileCopyTransaction, IndirectFileCreateFileTransaction, IndirectFileMoveTransaction, IxFileUploadTransaction

public interface ITwoPhaseIOTransaction extends ITwoPhaseTransaction
  • Method Details

    • hasBackup

      boolean hasBackup()
      Returns:
      true if the transaction has left a backup file, or false otherwise (e.g. if the destination file did not exist before the transaction).
    • getBackup

      File getBackup()
      Returns:
      The backup that was left by the transaction, or null if none was created (e.g. if the destination file did not exist before the transaction).