protected static class TransactionLocalDelegateImpl.TransactionLocalSynchronization extends Object implements Synchronization
| Modifier and Type | Field and Description |
|---|---|
protected ReentrantLock |
reentrantLock |
protected Transaction |
tx |
| Constructor and Description |
|---|
TransactionLocalSynchronization(Transaction tx) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
boolean |
containsValue(Object local) |
Object |
getValue(Object local) |
void |
lock(Object local) |
void |
setValue(Object local,
Object value) |
void |
unlock(Object local) |
protected Transaction tx
protected ReentrantLock reentrantLock
public TransactionLocalSynchronization(Transaction tx)
public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface Synchronizationpublic void lock(Object local) throws InterruptedException
InterruptedExceptionpublic void unlock(Object local)
public boolean containsValue(Object local)
Copyright © 2015 JBoss by Red Hat. All rights reserved.