public class XARecoveryResourceImple extends XAResourceRecord implements XARecoveryResource
_theXAResource, XACONNECTIONFAILED_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_objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget_uid, getXid, typepublic XARecoveryResourceImple(Uid u)
public XARecoveryResourceImple(Uid u, XAResource res)
public final XAResource getXAResource()
public int recoverable()
XARecoveryResourcerecoverable in interface XARecoveryResourcepublic int recover()
XARecoveryResourcerecover in interface XARecoveryResourcerecover in class XAResourceRecordprotected boolean notAProblem(XAException ex, boolean commit)
notAProblem in class XAResourceRecordCopyright © 2016 JBoss by Red Hat. All rights reserved.