Package | Description |
---|---|
com.basho.riak.client.bucket |
A bucket is a namespace abstraction provided by Riak, the API uses
Bucket as the primary way to interact
with data stored in Riak. |
com.basho.riak.client.builders |
These builders provide a fluid API for creating instances of some immutable
(or mainly immutable classes) that have a large number of
constructor parameters.
|
com.basho.riak.client.cap |
Classes that are relevant in the face of eventually consistent, fault
tolerant databases (like Riak).
|
com.basho.riak.client.operations |
The interfaces/classes that model the set of operations for talking to Riak.
|
Constructor and Description |
---|
DomainBucket(Bucket bucket,
ConflictResolver<T> resolver,
Converter<T> converter,
MutationProducer<T> mutationProducer,
StoreMeta storeMeta,
FetchMeta fetchMeta,
DeleteMeta deleteMeta,
Class<T> clazz,
Retrier retrier) |
DomainBucket(Bucket bucket,
ConflictResolver<T> resolver,
Converter<T> converter,
MutationProducer<T> mutationProducer,
StoreMeta storeMeta,
FetchMeta fetchMeta,
DeleteMeta deleteMeta,
Class<T> clazz,
Retrier retrier,
boolean withoutFetch)
Create a new
DomainBucket for clazz Class objects
wrapped around bucket
It is recommended to use the DomainBucketBuilder rather than this
constructor. |
Modifier and Type | Method and Description |
---|---|
DomainBucketBuilder<T> |
DomainBucketBuilder.withResolver(ConflictResolver<T> resolver)
the
ConflictResolver the DomainBucket will use. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultResolver<T>
A conflict resolver that doesn't resolve conflict.
|
Modifier and Type | Method and Description |
---|---|
StoreObject<T> |
StoreObject.withResolver(ConflictResolver<T> resolver)
The
ConflictResolver to use on any sibling results returned from the fetch (and store if returnBody is true)
NOTE: since it is used for fetch and after store must be reusable. |
MultiFetchObject<T> |
MultiFetchObject.withResolver(ConflictResolver<T> resolver)
Sets the
ConflictResolver to use for this multi-fetch operation. |
FetchObject<T> |
FetchObject.withResolver(ConflictResolver<T> resolver) |
Copyright © 2014. All Rights Reserved.