org.jboss.tm
protected static class TransactionLocalDelegateImpl.TransactionLocalSynchronization extends Object implements Synchronization
Modifier and Type | Field and Description |
---|---|
protected ReentrantLock |
reentrantLock |
protected Transaction |
tx |
Constructor and Description |
---|
TransactionLocalDelegateImpl.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 TransactionLocalDelegateImpl.TransactionLocalSynchronization(Transaction tx)
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
public void lock(Object local) throws InterruptedException
InterruptedException
public void unlock(Object local)
public boolean containsValue(Object local)
Copyright © 2016 JBoss by Red Hat. All rights reserved.