|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionLocalDelegate
The interface to implementated for a transaction local implementation
Method Summary | |
---|---|
boolean |
containsValue(TransactionLocal local,
Transaction tx)
does Transaction contain object? |
Object |
getValue(TransactionLocal local,
Transaction tx)
get the transaction local value. |
void |
lock(TransactionLocal local,
Transaction tx)
Lock the transaction local in the context of this transaction |
void |
storeValue(TransactionLocal local,
Transaction tx,
Object value)
put the value in the transaction local |
void |
unlock(TransactionLocal local,
Transaction tx)
Unlock the transaction local in the context of this transaction |
Method Detail |
---|
Object getValue(TransactionLocal local, Transaction tx)
void storeValue(TransactionLocal local, Transaction tx, Object value)
boolean containsValue(TransactionLocal local, Transaction tx)
void lock(TransactionLocal local, Transaction tx) throws InterruptedException
IllegalStateException
- if the transaction is not active
InterruptedException
- if the thread is interruptedvoid unlock(TransactionLocal local, Transaction tx)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |