public class XARecoveryResourceImple extends XAResourceRecord implements XARecoveryResource
_theXAResource, XACONNECTION
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() |
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 it 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, commit_one_phase, commit_subtransaction, commit, forget, get_uid, getRecoveryCoordinator, getResource, getXid, merge, prepare_subtransaction, prepare, propagateOnAbort, propagateOnCommit, restoreState, rollback_subtransaction, rollback, saveRecord, saveState, setRecoveryCoordinator, setXAResource, shouldAdd, shouldAlter, shouldMerge, shouldReplace, toString, type_id, type, typeName, uid
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
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.