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 |
---|---|
(package private) byte[] |
getBranchQualifier()
Obtain the transaction branch qualifier as an array of bytes.
|
(package private) int |
getFormat_Id()
Obtain the format id part of the GlobalTransactionId.
|
(package private) byte[] |
getGlobalTransactionId()
Obtain the global transaction identifier 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, toString
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.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 streamjava.lang.ClassNotFoundException
- log stream corruptedpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
int getFormat_Id()
byte[] getGlobalTransactionId()
byte[] getBranchQualifier()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.