org.apache.derby.iapi.store.raw
Interface GlobalTransactionId

All Superinterfaces:
java.io.Externalizable, Formatable, java.io.Serializable, TypedFormat
All Known Implementing Classes:
GlobalXactId

public interface GlobalTransactionId
extends Formatable

A transaction identifier that is unique among all raw stores and all transactions The equals() method for TransactionId implements by value equality. MT - immutable


Method Summary
 byte[] getBranchQualifier()
          Obtain the transaction branch qualifier part of the GlobalTransactionId in a byte array.
 int getFormat_Id()
          Obtain the format id part of the GlobalTransactionId.
 byte[] getGlobalTransactionId()
          Obtain the global transaction identifier part of GlobalTransactionId as an array of bytes.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface org.apache.derby.iapi.services.io.TypedFormat
getTypeFormatId
 

Method Detail

getFormat_Id

int getFormat_Id()
Obtain the format id part of the GlobalTransactionId.

Returns:
Format identifier. O means the OSI CCR format.

getGlobalTransactionId

byte[] getGlobalTransactionId()
Obtain the global transaction identifier part of GlobalTransactionId as an array of bytes.

Returns:
A byte array containing the global transaction identifier.

getBranchQualifier

byte[] getBranchQualifier()
Obtain the transaction branch qualifier part of the GlobalTransactionId in a byte array.

Returns:
A byte array containing the branch qualifier of the transaction.

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.