Package | Description |
---|---|
com.basho.riak.client.api.cap |
Classes related to eventual consistency in Riak.
|
com.basho.riak.client.api.commands.kv |
Commands for storing, fetching, and deleting objects.
|
com.basho.riak.client.api.convert.reflection | |
com.basho.riak.client.core.operations | |
com.basho.riak.client.core.query |
Modifier and Type | Class and Description |
---|---|
class |
BasicVClock
Encapsulates a Riak vector clock.
|
Modifier and Type | Field and Description |
---|---|
static FetchValue.Option<VClock> |
FetchValue.Option.IF_MODIFIED
If Modified.
|
Modifier and Type | Method and Description |
---|---|
DeleteValue.Builder |
DeleteValue.Builder.withVClock(VClock vClock)
Specify the VClock to use when deleting the object from Riak.
|
StoreValue.Builder |
StoreValue.Builder.withVectorClock(VClock vclock)
Set the vector clock.
|
Modifier and Type | Method and Description |
---|---|
<T> VClock |
AnnotationInfo.getRiakVClock(T obj) |
<T> VClock |
AnnotationHelper.getRiakVClock(T obj) |
static <T> VClock |
AnnotationUtil.getVClock(T domainObject)
Attempts to get a vector clock from
domainObject by looking
for a @RiakVClock annotated member. |
static <T> VClock |
AnnotationUtil.getVClock(T domainObject,
VClock defaultVClock) |
Modifier and Type | Method and Description |
---|---|
static <T> VClock |
AnnotationUtil.getVClock(T domainObject,
VClock defaultVClock) |
<T> void |
AnnotationInfo.setRiakVClock(T obj,
VClock vclock) |
<T> T |
AnnotationHelper.setRiakVClock(T obj,
VClock vclock) |
static <T> T |
AnnotationUtil.setVClock(T domainObject,
VClock vclock)
Attempts to inject
vclock as the value of the
@RiakVClock annotated member of domainObject |
Modifier and Type | Method and Description |
---|---|
DeleteOperation.Builder |
DeleteOperation.Builder.withVclock(VClock vclock)
Set the Vclock to be used for this query.
|
Modifier and Type | Method and Description |
---|---|
VClock |
RiakObject.getVClock()
Get the vector clock for this RiakObject.
|
Modifier and Type | Method and Description |
---|---|
RiakObject |
RiakObject.setVClock(VClock vclock)
Set the vector clock for this RiakObject.
|
Copyright © 2016. All rights reserved.