|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionManager
Transaction management
Transactions are a series of get/set calls to a session context which must be seen as atomic (single modification). We distingish between reading and writing. Usually parallel reading is allowed but if one thread wants to write, no other can read or write.
Field Summary | |
---|---|
static String |
ROLE
Deprecated. Avalon role |
Method Summary | |
---|---|
void |
resetTransactions(SessionContext context)
Deprecated. Reset the transaction management state. |
void |
startReadingTransaction(SessionContext context)
Deprecated. Start a reading transaction. |
void |
startWritingTransaction(SessionContext context)
Deprecated. Start a writing transaction. |
void |
stopReadingTransaction(SessionContext context)
Deprecated. Stop a reading transaction. |
void |
stopWritingTransaction(SessionContext context)
Deprecated. Stop a writing transaction. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
void resetTransactions(SessionContext context)
void startReadingTransaction(SessionContext context) throws ProcessingException
ProcessingException
void stopReadingTransaction(SessionContext context)
void startWritingTransaction(SessionContext context) throws ProcessingException
ProcessingException
void stopWritingTransaction(SessionContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |