orc.runtime.transaction
Class TransRegion

java.lang.Object
  extended by orc.runtime.regions.Region
      extended by orc.runtime.transaction.TransRegion

public class TransRegion
extends Region

This region encloses the tokens of a running transaction. When the region closes, it instructs the transaction to prepare to commit.

Author:
dkitchin

Field Summary
 
Fields inherited from class orc.runtime.regions.Region
closed
 
Constructor Summary
TransRegion(Region parent, Transaction trans)
           
 
Method Summary
protected  void onClose()
           
 
Methods inherited from class orc.runtime.regions.Region
add, add, close, putContainedTokens, remove, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransRegion

public TransRegion(Region parent,
                   Transaction trans)
Method Detail

onClose

protected void onClose()
Specified by:
onClose in class Region