ch.nix.ert.base
Class TransactionMonitor

java.lang.Object
  extended bych.nix.ert.base.TransactionMonitor

public class TransactionMonitor
extends java.lang.Object

Stores the temporary results for nested (or split) Transactions. Only if all parts are arrived, this TransactionMonitor will join the results and return the transaction

In current implementation only boolean operations are allowed to be split/joined (e.g. those who have ok/Error as result)

Author:
michi

Constructor Summary
TransactionMonitor()
           
 
Method Summary
 DataItem put(DataItem dataItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionMonitor

public TransactionMonitor()
Method Detail

put

public DataItem put(DataItem dataItem)
Returns:
The final transaction DataItem, if we have now all parts together. It contains also an variable called result, which indicates, if operation was a success or not. If it was only a part of a transaction, it will return null


Copyright © 2004 Michael Kussmaul - Revision: 183 - Date: 2004-11-16T15:42:13.763853Z