com.arjuna.ats.internal.arjuna.Header.getTxId()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(105)

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

Header.getTxId介绍

暂无

代码示例

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

/**
 * Override StateManager packHeader so it gets the original processUid, not
 * this process's
 * 
 * @since JTS 2.1.
 */
protected void packHeader (OutputObjectState os, Header hdr)
    throws IOException
{
  /*
   * If there is a transaction present than pack the process Uid of this
   * JVM and the tx id. Otherwise pack a null Uid.
   */
  super.packHeader(os, new Header(hdr.getTxId(), _originalProcessUid));
}

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

/**
 * Override StateManager packHeader so it gets the original processUid, not
 * this process's
 * 
 * @since JTS 2.1.
 */
protected void packHeader (OutputObjectState os, Header hdr)
    throws IOException
{
  /*
   * If there is a transaction present than pack the process Uid of this
   * JVM and the tx id. Otherwise pack a null Uid.
   */
  super.packHeader(os, new Header(hdr.getTxId(), _originalProcessUid));
}

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

代码示例来源:origin: org.jboss.jbossts.arjunacore/arjuna

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

Uid txId = ((hdr == null) ? null : hdr.getTxId());
Uid processUid = ((hdr == null) ? null : hdr.getProcessId());

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

/**
 * Override StateManager's unpackHeader to save the processUid of the
 * original process
 * 
 * @since JTS 2.1.
 */
protected void unpackHeader (InputObjectState os, Header hdr)
    throws IOException
{   
  super.unpackHeader(os, hdr);
  
  super.objectUid = hdr.getTxId();
  _originalProcessUid = hdr.getProcessId();
  if (jtsLogger.loggerI18N.isDebugEnabled())
  {
    jtsLogger.loggerI18N
        .debug(
            DebugLevel.FUNCTIONS,
            VisibilityLevel.VIS_PUBLIC,
            FacilityCode.FAC_CRASH_RECOVERY,
            "com.arjuna.ats.internal.jts.recovery.transactions.RecoveredServerTransaction_16",
            new Object[]
            { get_uid(), _originalProcessUid });
  }
}

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

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

代码示例来源:origin: org.jboss.jbossts.arjunacore/txoj

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

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

_owningTransactionUid = hdr.getTxId();

相关文章