public class SerializableXID extends Object implements Xid, DataSerializable
MAXBQUALSIZE, MAXGTRIDSIZE| Constructor and Description |
|---|
SerializableXID() |
SerializableXID(int formatId,
byte[] globalTransactionId,
byte[] branchQualifier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getBranchQualifier() |
int |
getFormatId() |
byte[] |
getGlobalTransactionId() |
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public SerializableXID()
public SerializableXID(int formatId,
byte[] globalTransactionId,
byte[] branchQualifier)
public int getFormatId()
getFormatId in interface Xidpublic byte[] getGlobalTransactionId()
getGlobalTransactionId in interface Xidpublic byte[] getBranchQualifier()
getBranchQualifier in interface Xidpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.