RiakCounterGetOptions Properties |
The RiakCounterGetOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | BasicQuorum |
Gets or sets basic quorum semantics.
When set to true, Riak will return early in some failure cases.
(eg. when r=1 and you get 2 errors and a success basic_quorum=true would return an error).
Can be used in conjunction when NotFoundOk=false to speed up the case a counter
does not exist, thereby only reading a "quorum" of not-founds instead of "N" not-founds.
|
![]() | Dw |
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.) |
![]() | NotFoundOk |
Gets or sets notfound_ok semantics.
When set to true, an object not being found on a Riak node will count towards the R count.
|
![]() | Pr |
Primary Read Quorum - the number of replicas that need to be available when retrieving the object.
(Inherited from RiakOptionsT.) |
![]() | Pw |
Primary Write Quorum - the number of replicas need to be available when the write is attempted.
(Inherited from RiakOptionsT.) |
![]() | R |
The number of replicas that must return before a delete is considered a succes.
(Inherited from RiakOptionsT.) |
![]() | Rw |
The number of replicas that need to agree when retrieving the object.
(Inherited from RiakOptionsT.) |
![]() | Timeout |
The Timeout period for an operation.
(Inherited from RiakOptionsT.) |
![]() | W |
The number of replicas that must respond before a write is considered a success.
(Inherited from RiakOptionsT.) |