Firefish 0.5.10

gov.lbl.dsd.firefish
Class TransactionTable

java.lang.Object
  extended bygov.lbl.dsd.firefish.TransactionTable
All Implemented Interfaces:
Serializable

public class TransactionTable
extends Object
implements Serializable

A state table keeping track of information about the currently open and closed transactions.

Version:
$Revision: 1.2 $, $Date: 2004/01/30 01:18:02 $
See Also:
Serialized Form

Constructor Summary
TransactionTable()
          Constructor for TransactionTable.
 
Method Summary
 void close(TransactionID tid)
           
 void closeOld(TransactionID tid)
           
 TransactionState getState(TransactionID tid)
           
 Transaction getTransaction(TransactionID tid)
           
 void open(Transaction trans, Stage dest)
           
 void openOld(Transaction trans)
           
 void openOld(Transaction trans, Runnable task)
           
 void terminate()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionTable

public TransactionTable()
Constructor for TransactionTable. TODO: synchronization and persistency

Method Detail

getState

public TransactionState getState(TransactionID tid)

getTransaction

public Transaction getTransaction(TransactionID tid)

openOld

public void openOld(Transaction trans)

open

public void open(Transaction trans,
                 Stage dest)

openOld

public void openOld(Transaction trans,
                    Runnable task)

close

public void close(TransactionID tid)

closeOld

public void closeOld(TransactionID tid)

terminate

public void terminate()

toString

public String toString()

Firefish 0.5.10

Jump to the Firefish Homepage