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

Constructor Summary
TransRegion(Region parent, Transaction trans)
           
 
Method Summary
protected  void onClose()
          Override this in subclasses to handle the closing of the region.
 
Methods inherited from class orc.runtime.regions.Region
activate, add, add, addActive, close, deactivate, maybeDeactivate, putContainedTokens, remove, remove, removeActive
 
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()
Description copied from class: Region
Override this in subclasses to handle the closing of the region.

Overrides:
onClose in class Region