java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat, TransactionIdpublic class XactId extends java.lang.Object implements TransactionId
| Modifier and Type | Field | Description |
|---|---|---|
private long |
id |
| Modifier and Type | Method | Description |
|---|---|---|
static long |
compare(TransactionId a,
TransactionId b) |
Return 0 if a == b,
+ve number if a > b
-ve number if a < b
|
boolean |
equals(java.lang.Object other) |
|
protected long |
getId() |
|
int |
getMaxStoredSize() |
TransactionId method
|
int |
getTypeFormatId() |
Return my format identifier.
|
int |
hashCode() |
|
void |
readExternal(java.io.ObjectInput in) |
Read this in
|
java.lang.String |
toString() |
|
void |
writeExternal(java.io.ObjectOutput out) |
Write this out.
|
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
readExternal in interface java.io.Externalizablejava.io.IOException - error reading from log streampublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic int getMaxStoredSize()
getMaxStoredSize in interface TransactionIdpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static long compare(TransactionId a, TransactionId b)
protected long getId()
public java.lang.String toString()
toString in class java.lang.ObjectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.