public class BackupCopyTransaction extends RemoveEverythingTransaction
attempts, dbType, success
Constructor and Description |
---|
BackupCopyTransaction(Database sourceDB,
Database destinationDB) |
Modifier and Type | Method and Description |
---|---|
protected void |
performOperations()
Implement this method for transaction execution.
|
protected boolean |
shouldBeExecuted()
Override this method for conditional execution.
|
execute, execute, executeOther, executeSwallowingExceptions, executeTransaction, getDBState, getServerUUID, query, toString, wasSuccessful
protected boolean shouldBeExecuted()
Transaction
Please note that the transaction has not been initialized and class variables are not available for queries. The condition should depend on other variables (Like the data that is to be stored) given to the transaction.
shouldBeExecuted
in class ThrowawayTransaction
protected void performOperations()
Transaction
performOperations
in class RemoveEverythingTransaction