Class UnixFSTransactionRollbackExecutionHandler
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSTransactionRollbackExecutionHandler
- All Implemented Interfaces:
UnixFSTransactionProgramInterpreter.ExecutionHandler
public class UnixFSTransactionRollbackExecutionHandler
extends Object
implements UnixFSTransactionProgramInterpreter.ExecutionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanupPath(UnixFSTransactionProgram program, UnixFSTransactionCommand command, Path rtPath, String transactionId) Cleans up thePathresources associated with the transaction.voidcleanupResourceId(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Cleans up theResourceIdresources associated with the transaction.voidcleanupTasks(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Cleans up the tasks for theResourceIdresources associated with the transaction.org.slf4j.LoggerReturns the preferred logger for thisUnixFSTransactionProgramInterpreter.ExecutionHandler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.rt.transact.unix.UnixFSTransactionProgramInterpreter.ExecutionHandler
applyContentsChange, applyPathChange, applyReversePathsChange, applyTaskChanges
-
Constructor Details
-
UnixFSTransactionRollbackExecutionHandler
-
-
Method Details
-
cleanupPath
public void cleanupPath(UnixFSTransactionProgram program, UnixFSTransactionCommand command, Path rtPath, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerCleans up thePathresources associated with the transaction.- Specified by:
cleanupPathin interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program-command-rtPath-transactionId-
-
cleanupResourceId
public void cleanupResourceId(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerCleans up theResourceIdresources associated with the transaction.- Specified by:
cleanupResourceIdin interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program-command-resourceId-transactionId-
-
cleanupTasks
public void cleanupTasks(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerCleans up the tasks for theResourceIdresources associated with the transaction.- Specified by:
cleanupTasksin interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program-command-resourceId-transactionId-
-
getLogger
public org.slf4j.Logger getLogger()Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerReturns the preferred logger for thisUnixFSTransactionProgramInterpreter.ExecutionHandler. By default, all instructions are logged at trace level with the suppliedLogger.- Specified by:
getLoggerin interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Returns:
- the logger
-
getDataStore
-