gpt4 book ai didi

com.arjuna.ats.internal.jta.resources.XAResourceErrorHandler类的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 02:01:05 31 4
gpt4 key购买 nike

本文整理了Java中com.arjuna.ats.internal.jta.resources.XAResourceErrorHandler类的一些代码示例,展示了XAResourceErrorHandler类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XAResourceErrorHandler类的具体详情如下:
包路径:com.arjuna.ats.internal.jta.resources.XAResourceErrorHandler
类名称:XAResourceErrorHandler

XAResourceErrorHandler介绍

暂无

代码示例

代码示例来源:origin: org.jboss.narayana.jta/jta

/**
 * Is the XAException a non-error when received in reply to commit or
 * rollback ? It normally is, but may be overridden in recovery.
 */
protected boolean notAProblem(XAException ex, boolean commit)
{
  return XAResourceErrorHandler.notAProblem(_theXAResource, ex, commit);
}

代码示例来源:origin: jbosstm/narayana

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRCommitError(onePhase);
  committed = handler.isCommitted();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: org.jboss.narayana.jta/jta

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRRollbackError();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

return TwoPhaseOutcome.HEURISTIC_HAZARD;
case XAException.XA_HEURCOM:
  forget();
  break;
case XAException.XA_HEURRB:
  forget();
  return TwoPhaseOutcome.ONE_PHASE_ERROR;
case XAException.XA_RBROLLBACK:

代码示例来源:origin: org.jboss.narayana.jta/jta

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRCommitError(onePhase);
  committed = handler.isCommitted();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRRollbackError();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: org.jboss.narayana.jta/jta

return TwoPhaseOutcome.HEURISTIC_HAZARD;
case XAException.XA_HEURCOM:
  forget();
  break;
case XAException.XA_HEURRB:
  forget();
  return TwoPhaseOutcome.ONE_PHASE_ERROR;
case XAException.XA_RBROLLBACK:

代码示例来源:origin: jboss.jbossts/jbossjts

/**
 * Is the XAException a non-error when received in reply to commit or
 * rollback ? It normally is, but may be overridden in recovery.
 */
protected boolean notAProblem(XAException ex, boolean commit)
{
  return XAResourceErrorHandler.notAProblem(_theXAResource, ex, commit);
}

代码示例来源:origin: jbosstm/narayana

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRCommitError(onePhase);
  committed = handler.isCommitted();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRRollbackError();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: jbosstm/narayana

return TwoPhaseOutcome.HEURISTIC_HAZARD;
case XAException.XA_HEURCOM:
  forget();
  break;
case XAException.XA_HEURRB:
  forget();
  return TwoPhaseOutcome.ONE_PHASE_ERROR;
case XAException.XA_RBROLLBACK:

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

/**
 * Is the XAException a non-error when received in reply to commit or
 * rollback ? It normally is, but may be overridden in recovery.
 */
protected boolean notAProblem(XAException ex, boolean commit)
{
  return XAResourceErrorHandler.notAProblem(_theXAResource, ex, commit);
}

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRCommitError(onePhase);
  committed = handler.isCommitted();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: jbosstm/narayana

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRRollbackError();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: jbosstm/narayana

return TwoPhaseOutcome.HEURISTIC_HAZARD;
case XAException.XA_HEURCOM:
  forget();
  break;
case XAException.XA_HEURRB:
  forget();
  return TwoPhaseOutcome.ONE_PHASE_ERROR;
case XAException.XA_RBROLLBACK:

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

/**
 * Is the XAException a non-error when received in reply to commit or
 * rollback ? It normally is, but may be overridden in recovery.
 */
protected boolean notAProblem(XAException ex, boolean commit)
{
  return XAResourceErrorHandler.notAProblem(_theXAResource, ex, commit);
}

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRCommitError(onePhase);
  committed = handler.isCommitted();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: jbosstm/narayana

return TwoPhaseOutcome.FINISH_OK;
} catch (XAException e) {
  XAResourceErrorHandler handler = new XAResourceErrorHandler(e, (XAResource) connectableResource, xid);
  heuristic = handler.handleCMRRollbackError();
  return heuristic;
} catch (Throwable e) {

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

return TwoPhaseOutcome.HEURISTIC_HAZARD;
case XAException.XA_HEURCOM:
  forget();
  break;
case XAException.XA_HEURRB:
  forget();
  return TwoPhaseOutcome.ONE_PHASE_ERROR;
case XAException.XA_RBROLLBACK:

代码示例来源:origin: jbosstm/narayana

/**
 * Is the XAException a non-error when received in reply to commit or
 * rollback ? It normally is, but may be overridden in recovery.
 */
protected boolean notAProblem(boolean commit)
{
  return XAResourceErrorHandler.notAProblem(xaResource, e, commit);
}

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com