|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of information stored for each transactionprotected static interface DataStoreImpl.TxnInfoTable<T>
Records information about all active transactions.
| Method Summary | |
|---|---|
T |
get(Transaction txn)
Returns the information associated with the transaction, or null if none is found. |
T |
remove(Transaction txn)
Removes the information associated with the transaction. |
void |
set(Transaction txn,
T info)
Sets the information associated with the transaction, which should not currently have associated information. |
| Method Detail |
|---|
T get(Transaction txn)
txn - the transaction
TransactionNotActiveException - if the implementation
determines that the transaction is no longer active
IllegalStateException - if the implementation determines
that the specified transaction does not match the
current contextT remove(Transaction txn)
txn - the transaction
IllegalStateException - if the transaction is not active,
or if the implementation determines that the specified
transaction does not match the current context
void set(Transaction txn,
T info)
txn - the transactioninfo - the associated information
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||