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 resolvers
that 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 set
and a targetchange set
and returns the result relative to their common ancestor.CDOMerger2 Merges the changes between a localtransaction
and a remoteview
into the local transaction.CDOSavepoint One in a sequence of possibly several points in time of atransaction
that encapsulates the changes to transactional objects and that later changes can berolled back
to.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 notifyingtransaction
configuration options.CDOTransaction.Options.AttachedRevisionsMap CDOTransaction.Options.AutoReleaseLocksEvent Anoptions event
fired from transactionoptions
when theauto release locks enabled
orauto release locks exemptions
options have changed.CDOTransaction.Options.AutoReleaseLocksEvent.AutoReleaseLocksEnabledEvent Anauto release locks options event
fired from transactionoptions
when theauto release locks enabled
option has changed.CDOTransaction.Options.AutoReleaseLocksEvent.AutoReleaseLocksExemptionsEvent Anauto release locks options event
fired from transactionoptions
when theauto release locks exemptions
option has changed.CDOTransaction.Options.CommitInfoTimeout CDOTransaction.Options.ConflictResolversEvent CDOTransaction.Options.StaleReferenceCleanerEvent Anoptions event
fired from transactionoptions
when thestale reference cleaner
option has changed.CDOTransaction.Options.UndoDetectorEvent CDOTransactionConflictEvent CDOTransactionContainer Can open newtransactions
and provide access to openend transactions.CDOTransactionFinishedEvent CDOTransactionHandler A combination ofCDOTransactionHandler1
andCDOTransactionHandler2
.CDOTransactionHandler1 A call-back interface that is called by atransaction
beforeobjects
are attached, modified or detached.CDOTransactionHandler1.WithUndo A call-back interface that is called by atransaction
beforeobjects
are attached, modified, undone or detached.CDOTransactionHandler2 A call-back interface that is called by atranscation
before it is committed and after it has been committed or rolled back.CDOTransactionHandler3 A call-back interface that is called by atranscation
before 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 anobject
has the original (clean) value after a number of modifications.CDOUserSavepoint Creates a save point in aCDOUserTransaction
that can be used to roll back a part of the transaction.CDOUserTransaction Provides functionality that is common to bothsingle
transactions anddistributed
(XA) transactions.CDOXASavepoint Creates a save point in aCDOXATransaction
that 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 handler
that automatically attaches cross-referenced objects to theresource
that contains the referencingobject
.CDOAutoCommitter CDOAutoLocker CDOAutoLocker.ForSingleValuedChanges Anauto locker
that only locks objects when their single-valued features are changed.CDODefaultTransactionHandler An empty default implementation ofCDOTransactionHandler1
andCDOTransactionHandler2
.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 atranscation
afterobjects
have been attached, modified or detached.CDOPostEventTransactionHandler.Default An empty default implementation ofCDOPostEventTransactionHandler
.CDOPushTransaction Atransaction
that persists changes to the object graph locally on commit and can later load these changes and push them to therepository
.CDOStaleReferenceCleaner.Default A defaultCDOStaleReferenceCleaner
that can be used on invalidation.CDOTransaction.CommitResult<T> A value type that combines the result of a persistable computation and thecommit info
of the finaltransaction commit
.CDOTransactionCommentator A utility class that, when associated with atransaction
, automatically updates thecommit comment
according to local model modifications. -
Enum Summary Enum Description CDOTransactionFinishedEvent.Cause Enumerates the possiblecauses
for atransaction
to become finished.CDOTransactionFinishedEvent.Type Deprecated. As of 4.3 useCDOTransactionFinishedEvent.Cause
. -
Exception Summary Exception Description CDOMerger.ConflictException Thrown from amerger
in case of conflicting changes in the a source and targetchange sets
.