Package org.eclipse.emf.cdo.transaction
Client concepts for dealing with transactions, distributed transactions and their save points.
-
Interface Summary Interface Description CDOCommitContext Provides a context for commit operations.CDOConflictResolver A strategy used to customize the default conflict resolution behavior oftransactions.CDOConflictResolver.NonConflictAware A mix-in interface forconflict resolversthat need to know about non-conflicting invalidations.CDOConflictResolver2 A strategy used to customize the default conflict resolution behavior oftransactions.CDOConflictResolver3 A strategy used to customize the default conflict resolution behavior oftransactions.CDOMerger Calculates the changes between a sourcechange setand a targetchange setand returns the result relative to their common ancestor.CDOMerger2 Merges the changes between a localtransactionand a remoteviewinto the local transaction.CDOSavepoint One in a sequence of possibly several points in time of atransactionthat encapsulates the changes to transactional objects and that later changes can berolled backto.CDOStaleReferenceCleaner Interface to externalize the cleaning of stale references created on invalidation.CDOTransaction A read-write view to the current (i.e.CDOTransaction.Options Encapsulates a set of notifyingtransactionconfiguration options.CDOTransaction.Options.AttachedRevisionsMap CDOTransaction.Options.AutoReleaseLocksEvent Anoptions eventfired from transactionoptionswhen theauto release locks enabledorauto release locks exemptionsoptions have changed.CDOTransaction.Options.AutoReleaseLocksEvent.AutoReleaseLocksEnabledEvent Anauto release locks options eventfired from transactionoptionswhen theauto release locks enabledoption has changed.CDOTransaction.Options.AutoReleaseLocksEvent.AutoReleaseLocksExemptionsEvent Anauto release locks options eventfired from transactionoptionswhen theauto release locks exemptionsoption has changed.CDOTransaction.Options.CommitInfoTimeout CDOTransaction.Options.ConflictResolversEvent CDOTransaction.Options.StaleReferenceCleanerEvent Anoptions eventfired from transactionoptionswhen thestale reference cleaneroption has changed.CDOTransaction.Options.UndoDetectorEvent CDOTransactionConflictEvent CDOTransactionContainer Can open newtransactionsand provide access to openend transactions.CDOTransactionFinishedEvent CDOTransactionHandler A combination ofCDOTransactionHandler1andCDOTransactionHandler2.CDOTransactionHandler1 A call-back interface that is called by atransactionbeforeobjectsare attached, modified or detached.CDOTransactionHandler1.WithUndo A call-back interface that is called by atransactionbeforeobjectsare attached, modified, undone or detached.CDOTransactionHandler2 A call-back interface that is called by atranscationbefore it is committed and after it has been committed or rolled back.CDOTransactionHandler3 A call-back interface that is called by atranscationbefore it is committed and after it has been committed (with result info) or rolled back.CDOTransactionHandlerBase A marker interface for use withCDOTransaction.addTransactionHandler()andCDOTransaction.removeTransactionHandler().CDOTransactionOpener Can open newtransactions.CDOTransactionStartedEvent CDOUndoDetector A strategy used to detect whether the feature of anobjecthas the original (clean) value after a number of modifications.CDOUserSavepoint Creates a save point in aCDOUserTransactionthat can be used to roll back a part of the transaction.CDOUserTransaction Provides functionality that is common to bothsingletransactions anddistributed(XA) transactions.CDOXASavepoint Creates a save point in aCDOXATransactionthat can be used to roll back a part of the transaction.CDOXATransaction A distributed (XA) transaction that can atomically commit the changes to multipleresource sets, each represented by a registeredview set. -
Class Summary Class Description CDOAsyncTransactionHandler Asynchronously executes a delegate handler's pre-event methods.CDOAutoAttacher Atransaction handlerthat automatically attaches cross-referenced objects to theresourcethat contains the referencingobject.CDOAutoCommitter CDOAutoLocker CDOAutoLocker.ForSingleValuedChanges Anauto lockerthat only locks objects when their single-valued features are changed.CDODefaultTransactionHandler An empty default implementation ofCDOTransactionHandler1andCDOTransactionHandler2.CDODefaultTransactionHandler1 An empty default implementation ofCDOTransactionHandler1.CDODefaultTransactionHandler2 An empty default implementation ofCDOTransactionHandler2.CDODefaultTransactionHandler3 An empty default implementation ofCDOTransactionHandler3.CDOPostEventTransactionHandler An abstract call-back class that is called by atranscationafterobjectshave been attached, modified or detached.CDOPostEventTransactionHandler.Default An empty default implementation ofCDOPostEventTransactionHandler.CDOPushTransaction Atransactionthat persists changes to the object graph locally on commit and can later load these changes and push them to therepository.CDOStaleReferenceCleaner.Default A defaultCDOStaleReferenceCleanerthat can be used on invalidation.CDOTransaction.CommitResult<T> A value type that combines the result of a persistable computation and thecommit infoof the finaltransaction commit.CDOTransactionCommentator A utility class that, when associated with atransaction, automatically updates thecommit commentaccording to local model modifications. -
Enum Summary Enum Description CDOTransactionFinishedEvent.Cause Enumerates the possiblecausesfor atransactionto become finished.CDOTransactionFinishedEvent.Type Deprecated. As of 4.3 useCDOTransactionFinishedEvent.Cause. -
Exception Summary Exception Description CDOMerger.ConflictException Thrown from amergerin case of conflicting changes in the a source and targetchange sets.