org.eclipse.emf.cdo.transaction
Interface CDOConflictResolver

All Known Subinterfaces:
CDOConflictResolver2

public interface CDOConflictResolver

A strategy used to customize the default conflict resolution behaviour of transactions.

Since:
2.0
See Also:
CDOTransaction.Options.addConflictResolver(CDOConflictResolver)

Method Summary
 CDOTransaction getTransaction()
          Returns the transaction this conflict resolver is associated with.
 void resolveConflicts(Set<CDOObject> conflicts)
          Resolves conflicts after remote invalidations arrived for objects that are locally dirty or detached.
 void setTransaction(CDOTransaction transaction)
          Sets the transaction this conflict resolver is to be associated with.
 

Method Detail

getTransaction

CDOTransaction getTransaction()
Returns the transaction this conflict resolver is associated with.


setTransaction

void setTransaction(CDOTransaction transaction)
Sets the transaction this conflict resolver is to be associated with.


resolveConflicts

void resolveConflicts(Set<CDOObject> conflicts)
Resolves conflicts after remote invalidations arrived for objects that are locally dirty or detached.



Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.