Klasse AbstractObjectConflictResolver.TakeRemoteChangesThenApplyLocalChanges

java.lang.Object
org.eclipse.emf.spi.cdo.AbstractConflictResolver
org.eclipse.emf.spi.cdo.AbstractObjectConflictResolver
org.eclipse.emf.spi.cdo.AbstractObjectConflictResolver.TakeRemoteChangesThenApplyLocalChanges
Alle implementierten Schnittstellen:
CDOConflictResolver, CDOConflictResolver2
Umschließende Klasse:
AbstractObjectConflictResolver

@Deprecated public static class AbstractObjectConflictResolver.TakeRemoteChangesThenApplyLocalChanges extends AbstractObjectConflictResolver
Veraltet.
A conflict resolver implementation that takes all the new remote state of the conflicting objects and then applies the locally existing changes of the current transaction.
Seit:
2.0
Autor:
Eike Stepper
  • Konstruktordetails

    • TakeRemoteChangesThenApplyLocalChanges

      public TakeRemoteChangesThenApplyLocalChanges()
      Veraltet.
  • Methodendetails

    • resolveConflicts

      public void resolveConflicts(Map<CDOObject,org.eclipse.net4j.util.collection.Pair<CDORevision,CDORevisionDelta>> conflicts, List<CDORevisionDelta> allRemoteDeltas)
      Veraltet.
      Beschreibung aus Schnittstelle kopiert: CDOConflictResolver2
      Resolves conflicts after remote invalidations arrived for objects that are locally dirty or detached.

      Depending on the decisions taken to resolve the conflict, it may be necessary to adjust the notifications that will be sent to the adapters in the current transaction. This can be achieved by adjusting the CDORevisionDelta in deltas.

      Angegeben von:
      resolveConflicts in Schnittstelle CDOConflictResolver2
      Setzt außer Kraft:
      resolveConflicts in Klasse AbstractObjectConflictResolver
      Parameter:
      conflicts - A map that contains the local objects with conflicts as the keys. Each value in this map is a pair that optionally contains the old local revision (ancestor) as element1 and the remote delta as element2. Any of the pair elements can be null if it is not possible to determine it locally (depends on local revision caching and server behavior regarding transmission of deltas instead of invalidations).