Package org.eclipse.emf.spi.cdo
Class AbstractChangeSetsConflictResolver
java.lang.Object
org.eclipse.emf.spi.cdo.AbstractConflictResolver
org.eclipse.emf.spi.cdo.AbstractChangeSetsConflictResolver
- All Implemented Interfaces:
CDOConflictResolver
,CDOConflictResolver.NonConflictAware
- Direct Known Subclasses:
CDOMergingConflictResolver
public abstract class AbstractChangeSetsConflictResolver
extends AbstractConflictResolver
implements CDOConflictResolver.NonConflictAware
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 4.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.transaction.CDOConflictResolver
CDOConflictResolver.NonConflictAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
void
handleNonConflict
(long updateTime) protected void
hookTransaction
(CDOTransaction transaction) protected void
transactionAttachingObject
(CDOObject object) protected void
transactionCommitted
(CDOCommitContext commitContext) protected void
transactionCommitting
(CDOCommitContext commitContext) protected void
transactionDetachingObject
(CDOObject object) protected void
transactionModifyingObject
(CDOObject object, CDOFeatureDelta featureDelta) protected void
protected void
unhookTransaction
(CDOTransaction transaction) Methods inherited from class org.eclipse.emf.spi.cdo.AbstractConflictResolver
getTransaction, setTransaction
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOConflictResolver
getTransaction, resolveConflicts, setTransaction
-
Constructor Details
-
AbstractChangeSetsConflictResolver
public AbstractChangeSetsConflictResolver() -
AbstractChangeSetsConflictResolver
public AbstractChangeSetsConflictResolver(boolean ensureRemoteNotifications) - Parameters:
ensureRemoteNotifications
- boolean to disable the use ofCDOAdapterPolicy
to ensure remote changes reception for conflict resolution, true by default. Can be disabled to limit network traffic whenCDOCommonSession.Options.PassiveUpdateMode
is enabled and inCDOCommonSession.Options.PassiveUpdateMode.CHANGES
orCDOCommonSession.Options.PassiveUpdateMode.ADDITIONS
- Since:
- 4.4
-
-
Method Details
-
getLocalChangeSetData
-
getLocalChangeSet
-
getRemoteChangeSetData
-
getRemoteChangeSet
-
getRemoteTimeStamp
public final long getRemoteTimeStamp()- Since:
- 4.4
-
handleNonConflict
public void handleNonConflict(long updateTime) - Specified by:
handleNonConflict
in interfaceCDOConflictResolver.NonConflictAware
- Since:
- 4.3
-
hookTransaction
- Overrides:
hookTransaction
in classAbstractConflictResolver
-
unhookTransaction
- Overrides:
unhookTransaction
in classAbstractConflictResolver
-
transactionAttachingObject
- Since:
- 4.4
-
transactionDetachingObject
- Since:
- 4.4
-
transactionModifyingObject
- Since:
- 4.4
-
transactionCommitting
- Since:
- 4.4
-
transactionCommitted
- Since:
- 4.4
-
transactionRolledBack
protected void transactionRolledBack()- Since:
- 4.4
-