public class XAResourceErrorHandler extends Object
Constructor and Description |
---|
XAResourceErrorHandler(XAException e,
XAResource xaResource,
Xid xid) |
Modifier and Type | Method and Description |
---|---|
static void |
addXAResourceMap(String type,
XAResourceMap map) |
void |
forget() |
int |
handleCMRCommitError(boolean onePhase) |
int |
handleCMRRollbackError() |
boolean |
isCommitted() |
protected boolean |
notAProblem(boolean commit)
Is the XAException a non-error when received in reply to commit or
rollback ? It normally is, but may be overridden in recovery.
|
static boolean |
notAProblem(XAResource res,
XAException ex,
boolean commit) |
public XAResourceErrorHandler(XAException e, XAResource xaResource, Xid xid)
protected boolean notAProblem(boolean commit)
public int handleCMRRollbackError()
public void forget()
public int handleCMRCommitError(boolean onePhase)
public boolean isCommitted()
public static boolean notAProblem(XAResource res, XAException ex, boolean commit)
public static void addXAResourceMap(String type, XAResourceMap map)
Copyright © 2021 JBoss by Red Hat. All rights reserved.