|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectlime.TransactionID
Defines the identifier of Transaction. The (globally unique) identifier is generated when the transaction is initiated.
| Field Summary | |
(package private) LimeServerID |
initiationHost
The identifier is composed of two parts: the address of the host where the transaction has been initiated and a progressive number assigned on that host. |
(package private) long |
n
|
| Constructor Summary | |
TransactionID(long n)
Construct a new tuple identifier...guaranteed to be unique. |
|
| Method Summary | |
boolean |
equals(java.lang.Object id)
Tests two tuple identifiers for equality. |
int |
hashCode()
|
java.lang.String |
toString()
Returns a concise textual description for this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
final LimeServerID initiationHost
final long n
| Constructor Detail |
public TransactionID(long n)
| Method Detail |
public boolean equals(java.lang.Object id)
id - the tuple id to be compared with.
true if the two identifiers are the same,
false otherwise.public int hashCode()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||