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.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.
|
Modifier and Type | Method and Description |
---|---|
Bucket |
WriteBucket.execute()
Creates/updates a Bucket in Riak with the set of properties configured.
|
Bucket |
FetchBucket.execute()
Execute the fetch operation using the RawClient
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Retrier.attempt(Callable<T> command)
Called by
RiakOperation execute methods to give some measure of fault tolerance. |
<T> T |
DefaultRetrier.attempt(Callable<T> command) |
static <T> T |
DefaultRetrier.attempt(Callable<T> command,
int times)
Calls
Callable.call() times before giving up and
throwing a RiakRetryFailedException There is no back off. |
Modifier and Type | Method and Description |
---|---|
T |
StoreObject.execute()
Fetches data from
bucket/key , if item exists it is converted
with Converter and any siblings resolved with
ConflictResolver . |
T |
FetchObject.execute()
Attempts to fetch the data at
bucket/key , convert it with
Converter and resolve any siblings with ConflictResolver |
Copyright © 2014. All Rights Reserved.