| java.lang.Object org.continuent.sequoia.controller.recoverylog.events.FindClosePersistentConnectionEvent
FindClosePersistentConnectionEvent | public class FindClosePersistentConnectionEvent implements LogEvent(Code) | | This class defines a FindClosePersistentConnectionEvent.
This event is used to retrieve a close associated to a persistent connection ID.
Once this event has been executed, the fact that the close was found
or not can be checked through the wasFound() method.
author: Damian Arregui version: 1.0 |
FindClosePersistentConnectionEvent | public FindClosePersistentConnectionEvent(Connection connection, RecoveryLog recoveryLog, long persistentConnectionId)(Code) | | Creates a new FindRollbackEvent object
Parameters: connection - the connection used to access the recovery log table Parameters: recoveryLog - the recovery log object Parameters: persistentConnectionId - 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 |
|
|