Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.store.raw
Interface GlobalTransactionId  view GlobalTransactionId download GlobalTransactionId.java

All Superinterfaces:
java.io.Externalizable, org.apache.derby.iapi.services.io.Formatable, java.io.Serializable, org.apache.derby.iapi.services.io.TypedFormat

public interface GlobalTransactionId
extends org.apache.derby.iapi.services.io.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

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


getGlobalTransactionId

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


getBranchQualifier

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