public class DefaultResolver<T> extends Object implements ConflictResolver<T>
This is the default ConflictResolver used if there is not one registered
in the ConflictResolverFactory
for the
class of object being resolved.
If it is presented with a collection of siblings with more than one entry it throws an Exception.
Constructor and Description |
---|
DefaultResolver() |
public T resolve(List<T> siblings) throws UnresolvedConflictException
resolve
in interface ConflictResolver<T>
siblings
- the list of siblings returned from RiakUnresolvedConflictException
- if siblings
has > 1 entry.Copyright © 2014. All rights reserved.