|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(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. |
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(Transaction tx) throws SystemException, RollbackException
SystemException
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 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 |