Strategy extends AnyRef
A strategy indicates how update conflict are resolved.
BarneyStinsonStrategy extends Strategy
This strategy applies a simple rule: New is always better Whenever a conflict occurs when trying to save a document in the database, the newest document (the one the client wants to store) is taken and overrides the previous revision.
StructuralMergeStrategy extends Strategy
This strategy applies a simple structural merge algorithm between variation from a base document to the last one in the database and from the base to the current revision of the document to merge
TedMosbyStrategy extends Strategy
This strategy is the anti-BarneyStinsonStrategy by definition as it applies a simple rule: Old is always better.