Package org.eclipse.emf.cdo.transaction
package org.eclipse.emf.cdo.transaction
Client concepts for dealing with transactions, distributed transactions and their save points.
-
ClassDescriptionAsynchronously executes a delegate handler's pre-event methods.A
transaction handler
that automatically attaches cross-referenced objects to theresource
that contains the referencingobject
.Anauto locker
that only locks objects when their single-valued features are changed.Provides a context for commit operations.A strategy used to customize the default conflict resolution behavior oftransactions
.A mix-in interface forconflict resolvers
that need to know about non-conflicting invalidations.A strategy used to customize the default conflict resolution behavior oftransactions
.A strategy used to customize the default conflict resolution behavior oftransactions
.An empty default implementation ofCDOTransactionHandler1
andCDOTransactionHandler2
.An empty default implementation ofCDOTransactionHandler1
.An empty default implementation ofCDOTransactionHandler2
.An empty default implementation ofCDOTransactionHandler3
.Calculates the changes between a sourcechange set
and a targetchange set
and returns the result relative to their common ancestor.Thrown from amerger
in case of conflicting changes in the a source and targetchange sets
.Merges the changes between a localtransaction
and a remoteview
into the local transaction.An abstract call-back class that is called by atranscation
afterobjects
have been attached, modified or detached.An empty default implementation ofCDOPostEventTransactionHandler
.Atransaction
that persists changes to the object graph locally on commit and can later load these changes and push them to therepository
.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.Interface to externalize the cleaning of stale references created on invalidation.A defaultCDOStaleReferenceCleaner
that can be used on invalidation.A read-write view to the current (i.e.A value type that combines the result of a persistable computation and thecommit info
of the finaltransaction commit
.Encapsulates a set of notifyingtransaction
configuration options.Anoptions event
fired from transactionoptions
when theauto release locks enabled
orauto release locks exemptions
options have changed.Anauto release locks options event
fired from transactionoptions
when theauto release locks enabled
option has changed.Anauto release locks options event
fired from transactionoptions
when theauto release locks exemptions
option has changed.Anoptions event
fired from transactionoptions
when theoptimistic locking timeout
option has changed.Anoptions event
fired from transactionoptions
when thestale reference cleaner
option has changed.A utility class that, when associated with atransaction
, automatically updates thecommit comment
according to local model modifications.Deprecated.Can open newtransactions
and provide access to openend transactions.Enumerates the possiblecauses
for atransaction
to become finished.Deprecated.As of 4.3 useCDOTransactionFinishedEvent.Cause
.A combination ofCDOTransactionHandler1
andCDOTransactionHandler2
.A call-back interface that is called by atransaction
beforeobjects
are attached, modified or detached.A call-back interface that is called by atransaction
beforeobjects
are attached, modified, undone or detached.A call-back interface that is called by atranscation
before it is committed and after it has been committed or rolled back.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.A marker interface for use withCDOTransaction.addTransactionHandler()
andCDOTransaction.removeTransactionHandler()
.Can open newtransactions
.A strategy used to detect whether the feature of anobject
has the original (clean) value after a number of modifications.Creates a save point in aCDOUserTransaction
that can be used to roll back a part of the transaction.Provides functionality that is common to bothsingle
transactions anddistributed
(XA) transactions.Creates a save point in aCDOXATransaction
that can be used to roll back a part of the transaction.A distributed (XA) transaction that can atomically commit the changes to multipleresource sets
, each represented by a registeredview set
.
CDOTransactionConflictAddedEvent
.