@Deprecated public interface TransactionLocalDelegate
Modifier and Type | Method and Description |
---|---|
boolean |
containsValue(TransactionLocal local,
Transaction tx)
Deprecated.
does Transaction contain object?
|
Object |
getValue(TransactionLocal local,
Transaction tx)
Deprecated.
get the transaction local value.
|
void |
lock(TransactionLocal local,
Transaction tx)
Deprecated.
Lock the transaction local in the context of this transaction
|
void |
storeValue(TransactionLocal local,
Transaction tx,
Object value)
Deprecated.
put the value in the transaction local
|
void |
unlock(TransactionLocal local,
Transaction tx)
Deprecated.
Unlock the transaction local in the context of this transaction
|
Object getValue(TransactionLocal local, Transaction tx)
local
- the transaction localtx
- the transcationvoid storeValue(TransactionLocal local, Transaction tx, Object value)
local
- the transaction localtx
- the transcationvalue
- the valueboolean containsValue(TransactionLocal local, Transaction tx)
local
- the transaction localtx
- the transcationvoid lock(TransactionLocal local, Transaction tx) throws InterruptedException
local
- the transaction localtx
- the transcationIllegalStateException
- if the transaction is not activeInterruptedException
- if the thread is interruptedvoid unlock(TransactionLocal local, Transaction tx)
local
- the transaction localtx
- the transcationCopyright © 2016 JBoss by Red Hat. All rights reserved.