com.atomikos.recovery.xa
Interface XaRecoveryLog
- All Known Implementing Classes:
- DefaultXaRecoveryLog
public interface XaRecoveryLog
presumedAborting
void presumedAborting(XID xid)
throws IllegalStateException,
LogException
- Notifies the log that recovery is about to rollback a pending xid according to the "presumed abort" paradigm.
This method fails if:
- The xid is currently COMMITTING in the log, OR
- The xid is still PREPARING but not yet expired at the moment this method is called
- Parameters:
xid -
- Throws:
IllegalStateException - If the state precondition is not satisfied.
LogException
terminated
void terminated(XID xid)
- Notifies the log that recovery has terminated a pending xid.
Due to concurrent OLTP commit or rollback, the xid may no longer be known in the log.
In that case, calling this method does nothing.
- Parameters:
xid -
getExpiredCommittingXids
Set<XID> getExpiredCommittingXids()
throws LogException
- Throws:
LogException
terminatedWithHeuristicHazardByResource
void terminatedWithHeuristicHazardByResource(XID xid)
throws LogException
- Throws:
LogException
terminatedWithHeuristicCommitByResource
void terminatedWithHeuristicCommitByResource(XID xid)
throws LogException
- Throws:
LogException
terminatedWithHeuristicMixedByResource
void terminatedWithHeuristicMixedByResource(XID xid)
throws LogException
- Throws:
LogException
terminatedWithHeuristicRollbackByResource
void terminatedWithHeuristicRollbackByResource(XID xid)
throws LogException
- Throws:
LogException
Copyright © 2016. All Rights Reserved.