T
- The type of the objects to be resolved.public interface ConflictResolver<T>
When you have multiple writers there may be multiple versions of the same object stored in Riak. When fetching all of these will be returned and you will need to resolve the conflict.
To facilitate this, you can store an instance of the ConflictResolver
in the ConflictResolverFactory
for a class.
It will then be used by the FetchValue.Response
to resolve a set a of siblings to a single object.
Modifier and Type | Method and Description |
---|---|
T |
resolve(List<T> objectList) |
T resolve(List<T> objectList) throws UnresolvedConflictException
UnresolvedConflictException
Copyright © 2016. All rights reserved.