simpledb
Class TransactionId

java.lang.Object
  extended by simpledb.TransactionId

public class TransactionId
extends java.lang.Object

TransactionId is a class that contains the identifier of a transaction.


Field Summary
(package private) static java.util.concurrent.atomic.AtomicLong counter
           
(package private)  long myid
           
 
Constructor Summary
TransactionId()
           
 
Method Summary
 boolean equals(java.lang.Object tid)
           
 long getId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

static java.util.concurrent.atomic.AtomicLong counter

myid

long myid
Constructor Detail

TransactionId

public TransactionId()
Method Detail

getId

public long getId()

equals

public boolean equals(java.lang.Object tid)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object