|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.TransactionEntry
This is the value (key being the GlobalTransaction
) in the transaction table
of TreeCache.
A TransactionEntry maintains
IdentityLock
) that have been acquired by
this transaction so far
Field Summary | |
protected List |
locks
List IdentityLock ) |
protected List |
modification_list
List MethodCall ). |
protected List |
nodes
List |
protected List |
txs
List |
protected List |
undo_list
List |
Constructor Summary | |
TransactionEntry()
|
Method Summary | |
void |
addLock(IdentityLock l)
|
void |
addModification(org.jgroups.blocks.MethodCall m)
|
void |
addNode(Fqn fqn)
|
void |
addUndoOperation(org.jgroups.blocks.MethodCall m)
|
List |
getLocks()
|
List |
getModifications()
|
List |
getNodes()
|
List |
getTransactions()
Returns a list of local transactions associated with this TransactionEntry |
List |
getUndoOperations()
|
void |
releaseAllLocks(Object owner)
|
void |
setTransaction(Transaction tx)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected List txs
protected List modification_list
MethodCall
). They will be replicated on TX commit
protected List undo_list
MethodCall
objects
which revert the ones in modification_list. For each entry in the modification list,
we have a corresponding entry in this list. A rollback will simply iterate over this list in
reverse to undo the modifications. Note that these undo-ops will never be replicated.
protected List nodes
protected List locks
IdentityLock
)
Constructor Detail |
public TransactionEntry()
Method Detail |
public void addModification(org.jgroups.blocks.MethodCall m)
public List getModifications()
public void addUndoOperation(org.jgroups.blocks.MethodCall m)
public List getUndoOperations()
public void addNode(Fqn fqn)
public List getNodes()
public void setTransaction(Transaction tx)
public List getTransactions()
public void addLock(IdentityLock l)
public List getLocks()
public void releaseAllLocks(Object owner)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |