| java.lang.Object org.continuent.sequoia.controller.recoverylog.events.FindCommitEvent
FindCommitEvent | public class FindCommitEvent implements LogEvent(Code) | | This class defines a FindCommitEvent.
This event is used to retrieve a commit associated to a transaction ID.
Once this event has been executed, the fact that the commit was found or
not can be checked through the wasFound() method.
author: Damian Arregui version: 1.0 |
FindCommitEvent | public FindCommitEvent(Connection connection, RecoveryLog recoveryLog, long requestId)(Code) | | Creates a new FindCommitEvent 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 commit statement if found in the recovery log
the status the commit statement as found in the recovery log, or anempty string if not found |
wasFound | public boolean wasFound()(Code) | | Checks if the commit was found.
true if the commit has been found, false otherwise |
|
|