| java.lang.Object org.continuent.sequoia.controller.recoverylog.events.FindRollbackEvent
FindRollbackEvent | public class FindRollbackEvent implements LogEvent(Code) | | This class defines a FindRollbackEvent.
This event is used to retrieve a rollback associated to a transaction ID.
Once this event has been executed, the fact that the rollback was found
or not can be checked through the wasFound() method.
author: Damian Arregui version: 1.0 |
FindRollbackEvent | public FindRollbackEvent(Connection connection, RecoveryLog recoveryLog, long requestId)(Code) | | Creates a new FindRollbackEvent object
Parameters: connection - the connection used to access the recovery log table Parameters: recoveryLog - the recovery log object Parameters: requestId - the ID of the request to be found |
getCatchedException | final public SQLException getCatchedException()(Code) | | Returns the catched exception if an error occured during the execution.
Returns null if no error occured or the query did not execute yet.
Returns the catchedException. |
getStatus | public String getStatus()(Code) | | Returns the status of the rollback statement if found in the recovery log
the status of the rollback statement found in the recovery log, orLogEntry.MISSING if not found |
wasFound | public boolean wasFound()(Code) | | Checks if the rollback was found.
true if the rollback has been found, false otherwise |
|
|