public class GlobalXactId extends GlobalXact implements GlobalTransactionId
branch_id, format_id, global_id| Constructor and Description |
|---|
GlobalXactId()
Public Methods of Formatable interface:
|
GlobalXactId(int format_id,
byte[] global_id,
byte[] branch_id)
Constructors for This class:
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, hashCode, toStringpublic GlobalXactId(int format_id,
byte[] global_id,
byte[] branch_id)
public GlobalXactId()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.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.Externalizablejava.io.IOException - error reading from log streamjava.lang.ClassNotFoundException - log stream corruptedpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic int getFormat_Id()
getFormat_Id in interface GlobalTransactionIdpublic byte[] getGlobalTransactionId()
GlobalTransactionIdgetGlobalTransactionId in interface GlobalTransactionIdpublic byte[] getBranchQualifier()
GlobalTransactionIdgetBranchQualifier in interface GlobalTransactionIdApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.