|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfabric.common.TransactionID
public class TransactionID
| Field Summary | |
|---|---|
int |
depth
The nesting depth of this transaction. |
TransactionID |
parent
|
long |
tid
The tid for this nested transaction. |
long |
topTid
The tid for the top-level transaction. |
| Constructor Summary | |
|---|---|
TransactionID()
|
|
TransactionID(java.io.DataInput in)
Deserialization constructor. |
|
TransactionID(long tid)
Creates a new top-level transaction id with the given id. |
|
TransactionID(TransactionID parent)
Creates a new transaction ID that is a child of the given tid. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
equals(TransactionID tid)
|
TransactionID |
getLowestCommonAncestor(TransactionID tid)
|
boolean |
isDescendantOf(TransactionID tid)
|
void |
write(java.io.DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final TransactionID parent
public final long tid
public final long topTid
public final int depth
| Constructor Detail |
|---|
public TransactionID()
public TransactionID(long tid)
public TransactionID(TransactionID parent)
parent -
public TransactionID(java.io.DataInput in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void write(java.io.DataOutput out)
throws java.io.IOException
write in interface FastSerializablejava.io.IOExceptionpublic boolean isDescendantOf(TransactionID tid)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean equals(TransactionID tid)
public TransactionID getLowestCommonAncestor(TransactionID tid)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||