|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.transaction.AbstractTransactionContext
org.jboss.cache.transaction.PessimisticTransactionContext
@Deprecated public class PessimisticTransactionContext
Information associated with a GlobalTransaction
about the transaction state.
WriteCommand
s that make up this transaction
Constructor Summary | |
---|---|
PessimisticTransactionContext(javax.transaction.Transaction tx)
Deprecated. |
Method Summary | |
---|---|
void |
addLocalModification(WriteCommand command)
Deprecated. Adds a modification to the local modification list. |
void |
addModification(WriteCommand command)
Deprecated. Adds a modification to the modification list. |
java.util.List<WriteCommand> |
getAllModifications()
Deprecated. |
void |
reset()
Deprecated. Cleans up internal state, freeing up references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PessimisticTransactionContext(javax.transaction.Transaction tx) throws javax.transaction.SystemException, javax.transaction.RollbackException
javax.transaction.SystemException
javax.transaction.RollbackException
Method Detail |
---|
public void addLocalModification(WriteCommand command)
TransactionContext
addLocalModification
in interface TransactionContext
addLocalModification
in class AbstractTransactionContext
command
- command to add to list. Should not be null.public void addModification(WriteCommand command)
TransactionContext
addModification
in interface TransactionContext
addModification
in class AbstractTransactionContext
command
- modificationpublic java.util.List<WriteCommand> getAllModifications()
public void reset()
TransactionContext
reset
in interface TransactionContext
reset
in class AbstractTransactionContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |