Package com.couchbase.lite
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.
@FunctionalInterface public interface ConflictResolver
Custom conflict resolution strategies implement this interface.
-
-
Field Summary
Fields Modifier and Type Field Description static ConflictResolver
DEFAULT
The default conflict resolution strategy.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Document
resolve(Conflict conflict)
Callback: called when there are conflicting changes in the local and remote versions of a document during replication.
-
-
-
Field Detail
-
DEFAULT
static final ConflictResolver DEFAULT
The default conflict resolution strategy.
-
-