Package com.basho.riak.client.cap

Classes that are relevant in the face of eventually consistent, fault tolerant databases (like Riak).

See:
          Description

Interface Summary
ConflictResolver<T> Implement to encode your conflict resolution strategy when faced with sibling values.
Mutation<T> A Mutation is some encapsulated logic that generates a new value from some previous value
MutationProducer<T> Maybe you want to produce a Mutation at will? Say if you are using a DomainBucket.
Retrier Fault tolerant systems need fault tolerant clients, implement to retry failed operations.
VClock Access the opaque Riak vector clock as either a String or array of bytes.
 

Class Summary
BasicVClock An implementation of VClock that wraps a byte[]
ClientId A random clientId generator.
ClobberMutation<T> A mutation that overwrites the original value with a new one.
DefaultResolver<T> A conflict resolver that doesn't resolve conflict.
DefaultRetrier A basic retrier implementation that attempts *n* times before throwing a UnresolvedConflictException.
Quorum Encapsulates a bucket's r/w/dw/rw/p/pr/pw quora as either the symbolic Quora or an int.
 

Enum Summary
Quora An enum that models the set of symbolic quora.
 

Exception Summary
UnresolvedConflictException Thrown by Retrier.attempt(java.util.concurrent.Callable) when it finally fails.
 

Package com.basho.riak.client.cap Description

Classes that are relevant in the face of eventually consistent, fault tolerant databases (like Riak).

Includes: The interfaces and default implementations for ConflictResolver, Mutation and Retrier as well as vector clock and quorum classes



Copyright © 2012. All Rights Reserved.