public class XARecoveryResourceImple extends XAResourceRecord implements XARecoveryResource
_theXAResource, XACONNECTION
modifyingActions, objectModel, objectUid, usingActions
FAILED_TO_RECOVER, INCOMPLETE_STATE, INFLIGHT_TRANSACTION, RECOVERED_OK, RECOVERY_REQUIRED, TRANSACTION_NOT_PREPARED, WAITING_FOR_RECOVERY
Constructor and Description |
---|
XARecoveryResourceImple(Uid u) |
XARecoveryResourceImple(Uid u,
XAResource res) |
Modifier and Type | Method and Description |
---|---|
XAResource |
getXAResource()
Deprecated.
Only used by a test
|
protected boolean |
notAProblem(XAException ex,
boolean commit)
Is the XAException a non-error when received in reply to commit or
rollback ?
In recovery, the commit/rollback may have been sent before (possibly
only just before, in another thread) - in which case the RM will not
recognise the XID but id doesn't matter
|
int |
recover()
Attempt the recovery.
|
int |
recoverable()
If we don't have an XAResource then we cannot recover at
this stage.
|
alter, doSave, forgetHeuristic, getDeferredThrowables, getJndiName, getProductName, getProductVersion, getXid, merge, nestedAbort, nestedCommit, nestedOnePhaseCommit, nestedPrepare, order, propagateOnCommit, restore_state, save_state, setJndiName, setProductName, setProductVersion, setValue, shouldAdd, shouldAlter, shouldMerge, shouldReplace, topLevelAbort, topLevelCommit, topLevelOnePhaseCommit, topLevelPrepare, toString, type, typeIs, typeName, value
create, equals, getNext, getPrevious, getTypeOfObject, greaterThan, lessThan, nestedCleanup, print, propagateOnAbort, replace, setNext, setPrevious, topLevelCleanup
activate, activate, cleanup, createLists, deactivate, deactivate, deactivate, destroy, disable, forgetAction, get_uid, getMutex, getObjectModel, getStore, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, rememberAction, setStatus, setupStore, setupStore, setupStore, status, terminate, tryLockMutex, unlockMutex, unpackHeader
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get_uid, getXid, type
public XARecoveryResourceImple(Uid u)
public XARecoveryResourceImple(Uid u, XAResource res)
public final XAResource getXAResource()
public int recoverable()
XARecoveryResource
recoverable
in interface XARecoveryResource
public int recover()
XARecoveryResource
recover
in interface XARecoveryResource
recover
in class XAResourceRecord
protected boolean notAProblem(XAException ex, boolean commit)
notAProblem
in class XAResourceRecord
Copyright © 2021 JBoss by Red Hat. All rights reserved.