|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.cdo.transaction.CDOAsyncTransactionHandler
Asynchronously executes a delegate handler's pre-event methods. The delegate handler's code may access the
view
without causing deadlocks.
Constructor Summary | |
---|---|
CDOAsyncTransactionHandler(CDOTransactionHandler delegate)
|
Method Summary | |
---|---|
void |
attachingObject(CDOTransaction transaction,
CDOObject object)
Asynchronously executes the delegate handler's attachingObject() method. |
void |
committedTransaction(CDOTransaction transaction,
CDOCommitContext commitContext)
Synchronously executes the delegate handler's committedTransaction() method. |
void |
committingTransaction(CDOTransaction transaction,
CDOCommitContext commitContext)
Asynchronously executes the delegate handler's committingTransaction() method. |
void |
detachingObject(CDOTransaction transaction,
CDOObject object)
Asynchronously executes the delegate handler's detachingObject() method. |
void |
modifyingObject(CDOTransaction transaction,
CDOObject object,
CDOFeatureDelta featureChange)
Asynchronously executes the delegate handler's modifyingObject() method. |
void |
rolledBackTransaction(CDOTransaction transaction)
Synchronously executes the delegate handler's rolledBackTransaction() method. |
protected void |
runAsync(Runnable runnable)
Should be overridden if you want to use different threading mechanism. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDOAsyncTransactionHandler(CDOTransactionHandler delegate)
Method Detail |
---|
public final void attachingObject(CDOTransaction transaction, CDOObject object)
attachingObject()
method.
attachingObject
in interface CDOTransactionHandler1
public final void detachingObject(CDOTransaction transaction, CDOObject object)
detachingObject()
method.
detachingObject
in interface CDOTransactionHandler1
public final void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
modifyingObject()
method.
modifyingObject
in interface CDOTransactionHandler1
public void committingTransaction(CDOTransaction transaction, CDOCommitContext commitContext)
committingTransaction()
method.
committingTransaction
in interface CDOTransactionHandler2
public void committedTransaction(CDOTransaction transaction, CDOCommitContext commitContext)
committedTransaction()
method.
committedTransaction
in interface CDOTransactionHandler2
public void rolledBackTransaction(CDOTransaction transaction)
rolledBackTransaction()
method.
rolledBackTransaction
in interface CDOTransactionHandler2
protected void runAsync(Runnable runnable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |