ConForM.CoopnTools.JavaProto.Transaction
Class CoopnTransaction

java.lang.Object
  |
  +--ConForM.CoopnTools.JavaProto.Transaction.Transaction
        |
        +--ConForM.CoopnTools.JavaProto.Transaction.CoopnTransaction

public class CoopnTransaction
extends Transaction


Constructor Summary
  CoopnTransaction()
          "Head" transaction.
protected CoopnTransaction(CoopnTransaction parent)
          Basic transaction (with)
protected CoopnTransaction(CoopnTransaction parent, int op, int pos)
          Op transaction (sim,seq,alt)
 
Method Summary
 void abort()
          Abort notifies parent transaction
 CoopnTransaction alt1()
           
 CoopnTransaction alt2()
           
 int getDepth()
           
 Key getKey()
           
 int getOp()
           
 int getPos()
           
 int getStackDepth()
          Stack depth.
 CoopnTransaction getSuper()
           
 CoopnTransaction getSuper(int depth)
           
 boolean isAlt()
           
 boolean isRoot()
           
 boolean isSeq()
           
 boolean isSim()
           
 boolean isSubOf(CoopnTransaction t)
           
 boolean isWith()
           
 CoopnTransaction lastCommonNode(CoopnTransaction other)
           
 CoopnTransaction seq1()
           
 CoopnTransaction seq2()
           
 void setKey(Key key)
           
 CoopnTransaction sim1()
           
 CoopnTransaction sim2()
           
 void subAbort()
           
 void subCommit()
           
 java.lang.String toString()
           
 CoopnTransaction with()
           
 
Methods inherited from class ConForM.CoopnTools.JavaProto.Transaction.Transaction
commit, getTransactionMgr, isAlive, setTransactionMgr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoopnTransaction

public CoopnTransaction()
"Head" transaction.

CoopnTransaction

protected CoopnTransaction(CoopnTransaction parent)
Basic transaction (with)

CoopnTransaction

protected CoopnTransaction(CoopnTransaction parent,
                           int op,
                           int pos)
Op transaction (sim,seq,alt)
Method Detail

isSeq

public boolean isSeq()

isSim

public boolean isSim()

isAlt

public boolean isAlt()

isWith

public boolean isWith()

getOp

public int getOp()

getPos

public int getPos()

getDepth

public int getDepth()

getStackDepth

public int getStackDepth()
Stack depth. Only with are counted.

with

public CoopnTransaction with()

sim1

public CoopnTransaction sim1()

sim2

public CoopnTransaction sim2()

alt1

public CoopnTransaction alt1()

alt2

public CoopnTransaction alt2()

seq1

public CoopnTransaction seq1()

seq2

public CoopnTransaction seq2()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isSubOf

public boolean isSubOf(CoopnTransaction t)

lastCommonNode

public CoopnTransaction lastCommonNode(CoopnTransaction other)

isRoot

public boolean isRoot()

getSuper

public CoopnTransaction getSuper()

getSuper

public CoopnTransaction getSuper(int depth)

abort

public void abort()
Abort notifies parent transaction
Overrides:
abort in class Transaction

subCommit

public void subCommit()
Overrides:
subCommit in class Transaction

subAbort

public void subAbort()
Overrides:
subAbort in class Transaction

getKey

public Key getKey()

setKey

public void setKey(Key key)