|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.store.access.GlobalXact
org.apache.derby.impl.store.raw.xact.GlobalXactId
public class GlobalXactId
Field Summary |
---|
Fields inherited from class org.apache.derby.iapi.store.access.GlobalXact |
---|
branch_id, format_id, global_id |
Constructor Summary | |
---|---|
GlobalXactId()
Public Methods of Formatable interface: |
|
GlobalXactId(int format_id,
byte[] global_id,
byte[] branch_id)
Constructors for This class: |
Method Summary | |
---|---|
byte[] |
getBranchQualifier()
Obtain the transaction branch qualifier part of the GlobalTransactionId in a byte array. |
int |
getFormat_Id()
Public Methods of This class: |
byte[] |
getGlobalTransactionId()
Obtain the global transaction identifier part of GlobalTransactionId as an array of bytes. |
int |
getTypeFormatId()
Return my format identifier. |
void |
readExternal(java.io.ObjectInput in)
Read this in |
void |
writeExternal(java.io.ObjectOutput out)
Write this out. |
Methods inherited from class org.apache.derby.iapi.store.access.GlobalXact |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GlobalXactId(int format_id, byte[] global_id, byte[] branch_id)
public GlobalXactId()
Method Detail |
---|
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
- error writing to log streampublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corruptedpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public int getFormat_Id()
getFormat_Id
in interface GlobalTransactionId
public byte[] getGlobalTransactionId()
GlobalTransactionId
getGlobalTransactionId
in interface GlobalTransactionId
public byte[] getBranchQualifier()
GlobalTransactionId
getBranchQualifier
in interface GlobalTransactionId
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |