Top Fields Constructors Methods
org.apache.derby.impl.tools.ij

pack-priv Class ijXid

Located in compilation unit of org.apache.derby.impl.tools.ij.xaHelper.

extends Object
implements Xid, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, javax.transaction.xa.Xid

Field Summary

Modifier and TypeField and Description
private final byte[]
private final int
private final byte[]
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv
ijXid(int xid, byte[] id)

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

A byte array containing the branch qualifier of the transaction.
getBranchQualifier
()

Implements javax.transaction.xa.Xid.getBranchQualifier.

Obtain the transaction branch qualifier part of the Xid in a byte array.
public int

Returns:

Format identifier. O means the OSI CCR format.
getFormatId
()

Implements javax.transaction.xa.Xid.getFormatId.

Obtain the format id part of the Xid.
public byte[]

Returns:

A byte array containing the global transaction identifier.
getGlobalTransactionId
()

Implements javax.transaction.xa.Xid.getGlobalTransactionId.

Obtain the global transaction identifier part of XID as an array of bytes.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

branch_idback to summary
private final byte[] branch_id
format_idback to summary
private final int format_id
global_idback to summary
private final byte[] global_id
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

ijXidback to summary
pack-priv ijXid(int xid, byte[] id)

Method Detail

getBranchQualifierback to summary
public byte[] getBranchQualifier()

Implements javax.transaction.xa.Xid.getBranchQualifier.

Obtain the transaction branch qualifier part of the Xid in a byte array.

Returns:byte[]

A byte array containing the branch qualifier of the transaction.

getFormatIdback to summary
public int getFormatId()

Implements javax.transaction.xa.Xid.getFormatId.

Obtain the format id part of the Xid.

Returns:int

Format identifier. O means the OSI CCR format.

getGlobalTransactionIdback to summary
public byte[] getGlobalTransactionId()

Implements javax.transaction.xa.Xid.getGlobalTransactionId.

Obtain the global transaction identifier part of XID as an array of bytes.

Returns:byte[]

A byte array containing the global transaction identifier.