aleph
Class Transaction

java.lang.Object
  |
  +--aleph.Transaction

public class Transaction
extends java.lang.Object

Names transactions.


Field Summary
static int ABORTED
           
static int ACTIVE
           
static int COMMITTED
           
 
Constructor Summary
Transaction()
           
Transaction(java.lang.String hint)
           
 
Method Summary
 void commit()
          Try to commit transaction.
 boolean equals(java.lang.Object anObject)
           
 int hashCode()
           
 int status()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTIVE

public static final int ACTIVE

COMMITTED

public static final int COMMITTED

ABORTED

public static final int ABORTED
Constructor Detail

Transaction

public Transaction()

Transaction

public Transaction(java.lang.String hint)
Method Detail

status

public int status()

commit

public void commit()
            throws AlephException
Try to commit transaction.
Throws:
AlephException - if transaction aborts

hashCode

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

equals

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