Package org.eclipse.emf.cdo.transaction

# Klasse CDOAsyncTransactionHandler

java.lang.Object
org.eclipse.emf.cdo.transaction.CDOAsyncTransactionHandler

Alle implementierten Schnittstellen:
  `CDOTransactionHandler`, `CDOTransactionHandler1`, `CDOTransactionHandler2`, `CDOTransactionHandlerBase`

public class CDOAsyncTransactionHandler extends Object implements CDOTransactionHandler
Asynchronously executes a delegate handler's pre-event methods. The delegate handler's code may access the `view` without causing deadlocks.

Seit:
  2.0
Autor:
  Simon McDuff

## Verschachtelte Klassen - Übersicht

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.transaction.CDOTransactionHandler1

`CDOTransactionHandler1.WithUndo`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`CDOAsyncTransactionHandler(CDOTransactionHandler delegate)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`final 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.
`final void`
`detachingObject(CDOTransaction transaction, CDOObject object)`
Asynchronously executes the delegate handler's `detachingObject()` method.
`final 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.

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Konstruktordetails

### CDOAsyncTransactionHandler

public CDOAsyncTransactionHandler(CDOTransactionHandler delegate)

## Methodendetails

### attachingObject

public final void attachingObject(CDOTransaction transaction, CDOObject object)
Asynchronously executes the delegate handler's `attachingObject()` method.

Angegeben von:
  `attachingObject` in Schnittstelle `CDOTransactionHandler1`

### detachingObject

public final void detachingObject(CDOTransaction transaction, CDOObject object)
Asynchronously executes the delegate handler's `detachingObject()` method.

Angegeben von:
  `detachingObject` in Schnittstelle `CDOTransactionHandler1`

### modifyingObject

public final void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
Asynchronously executes the delegate handler's `modifyingObject()` method.

Angegeben von:
  `modifyingObject` in Schnittstelle `CDOTransactionHandler1`

### committingTransaction

public void committingTransaction(CDOTransaction transaction, CDOCommitContext commitContext)
Asynchronously executes the delegate handler's `committingTransaction()` method.

Angegeben von:
  `committingTransaction` in Schnittstelle `CDOTransactionHandler2`

### committedTransaction

public void committedTransaction(CDOTransaction transaction, CDOCommitContext commitContext)
Synchronously executes the delegate handler's `committedTransaction()` method.

Angegeben von:
  `committedTransaction` in Schnittstelle `CDOTransactionHandler2`

### rolledBackTransaction

public void rolledBackTransaction(CDOTransaction transaction)
Synchronously executes the delegate handler's `rolledBackTransaction()` method.

Angegeben von:
  `rolledBackTransaction` in Schnittstelle `CDOTransactionHandler2`

### runAsync

protected void runAsync(Runnable runnable)
Should be overridden if you want to use different threading mechanism.