|
||||||||||
| 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.
WriteCommands 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 TransactionContextaddLocalModification in class AbstractTransactionContextcommand - command to add to list. Should not be null.public void addModification(WriteCommand command)
TransactionContext
addModification in interface TransactionContextaddModification in class AbstractTransactionContextcommand - modificationpublic List<WriteCommand> getAllModifications()
public void reset()
TransactionContext
reset in interface TransactionContextreset in class AbstractTransactionContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||