public class DefaultXaRecoveryLog extends java.lang.Object implements XaRecoveryLog
| Constructor and Description |
|---|
DefaultXaRecoveryLog(RecoveryLog log,
long expirationForPresumedAbort) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<XID> |
getExpiredCommittingXids() |
void |
presumedAborting(XID xid)
Notifies the log that recovery is about to rollback a pending xid according to the "presumed abort" paradigm.
|
void |
terminated(XID xid)
Notifies the log that recovery has terminated a pending xid.
|
void |
terminatedWithHeuristicCommitByResource(XID xid) |
void |
terminatedWithHeuristicHazardByResource(XID xid) |
void |
terminatedWithHeuristicMixedByResource(XID xid) |
void |
terminatedWithHeuristicRollbackByResource(XID xid) |
public DefaultXaRecoveryLog(RecoveryLog log, long expirationForPresumedAbort)
public void presumedAborting(XID xid) throws java.lang.IllegalStateException, LogException
XaRecoveryLogpresumedAborting in interface XaRecoveryLogjava.lang.IllegalStateException - If the state precondition is not satisfied.LogExceptionpublic void terminated(XID xid)
XaRecoveryLogterminated in interface XaRecoveryLogpublic java.util.Set<XID> getExpiredCommittingXids() throws LogReadException
getExpiredCommittingXids in interface XaRecoveryLogLogReadExceptionpublic void terminatedWithHeuristicHazardByResource(XID xid) throws LogException
terminatedWithHeuristicHazardByResource in interface XaRecoveryLogLogExceptionpublic void terminatedWithHeuristicCommitByResource(XID xid) throws LogException
terminatedWithHeuristicCommitByResource in interface XaRecoveryLogLogExceptionpublic void terminatedWithHeuristicMixedByResource(XID xid) throws LogException
terminatedWithHeuristicMixedByResource in interface XaRecoveryLogLogExceptionpublic void terminatedWithHeuristicRollbackByResource(XID xid) throws LogException
terminatedWithHeuristicRollbackByResource in interface XaRecoveryLogLogExceptionCopyright © 2018. All Rights Reserved.