Interface ConflictResolver

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ConflictResolver
    Custom conflict resolution strategies implement this interface.
    • Field Detail

      • DEFAULT

        static final ConflictResolver DEFAULT
        The default conflict resolution strategy.
    • Method Detail

      • resolve

        Document resolve​(@NonNull
                         Conflict conflict)
        Callback: called when there are conflicting changes in the local and remote versions of a document during replication.
        conflict - Description of the conflicting documents.
        the resolved doc.