org.apache.activemq.command.XATransactionId.getBranchQualifier()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(8.7k)|赞(0)|评价(0)|浏览(94)

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

XATransactionId.getBranchQualifier介绍

暂无

代码示例

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}

代码示例来源:origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

代码示例来源:origin: apache/activemq

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}

代码示例来源:origin: org.apache.activemq/activemq-all

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}

相关文章