class Xid extends Object implements Serializable, Encodable
Xid
internal class is a utility class representing
a global transaction identifier.Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
bq |
(package private) int |
fi |
(package private) byte[] |
gti |
private static long |
serialVersionUID |
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
Constructor and Description |
---|
Xid() |
Xid(byte[] bq,
int fi,
byte[] gti) |
Modifier and Type | Method and Description |
---|---|
void |
decode(Decoder decoder)
Decodes the content of this object
|
void |
encode(Encoder encoder)
Encodes the content of this object
|
boolean |
equals(Object o) |
int |
getEncodableClassId()
Returns a unique class identifier.
|
int |
getEncodedSize()
Returns the size of the byte array that results
from the encoding of this object.
|
int |
hashCode() |
private static final long serialVersionUID
byte[] bq
int fi
byte[] gti
public int getEncodableClassId()
Encodable
getEncodableClassId
in interface Encodable
public int getEncodedSize() throws Exception
Encodable
getEncodedSize
in interface Encodable
Exception
- if an error occurspublic void encode(Encoder encoder) throws Exception
Encodable
Copyright © 2020 ScalAgent D.T.. All rights reserved.