@ CheckReturnValue private LocalSyncWriteModelContainer resolveConflict ( final NamespaceSynchronizationConfig nsConfig , final CoreDocumentSynchronizationConfig docConfig , final ChangeEvent < BsonDocument > remoteEvent ) { return resolveConflict ( nsConfig , docConfig , docConfig . getLastUncommittedChangeEvent ( ) , remoteEvent ) ; }
Resolves a conflict between a synchronized document s local and remote state . The resolution will result in either the document being desynchronized or being replaced with some resolved state based on the conflict resolver specified for the document . Uses the last uncommitted local event as the local state .