Click or drag to resize
RiakCounterGetOptions Class
A collection of optional settings for fetching a 1.4-style counter from Riak.
Inheritance Hierarchy
SystemObject
  RiakClient.ModelsRiakOptionsRiakCounterGetOptions
    RiakClient.ModelsRiakCounterGetOptions

Namespace:  RiakClient.Models
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public class RiakCounterGetOptions : RiakOptions<RiakCounterGetOptions>

The RiakCounterGetOptions type exposes the following members.

Constructors
  NameDescription
Public methodRiakCounterGetOptions
Initializes a new instance of the RiakCounterGetOptions class
Top
Properties
  NameDescription
Public propertyBasicQuorum
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.
Public propertyDw
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.)
Public propertyNotFoundOk
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.
Public propertyPr
Primary Read Quorum - the number of replicas that need to be available when retrieving the object.
(Inherited from RiakOptionsT.)
Public propertyPw
Primary Write Quorum - the number of replicas need to be available when the write is attempted.
(Inherited from RiakOptionsT.)
Public propertyR
The number of replicas that must return before a delete is considered a succes.
(Inherited from RiakOptionsT.)
Public propertyRw
The number of replicas that need to agree when retrieving the object.
(Inherited from RiakOptionsT.)
Public propertyTimeout
The Timeout period for an operation.
(Inherited from RiakOptionsT.)
Public propertyW
The number of replicas that must respond before a write is considered a success.
(Inherited from RiakOptionsT.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetBasicQuorum
A fluent setter for the BasicQuorum property.
Public methodSetDw(Int32)
A fluent setter for the Dw property.
(Inherited from RiakOptionsT.)
Public methodSetDw(Quorum)
A fluent setter for the Dw property.
(Inherited from RiakOptionsT.)
Public methodSetNotFoundOk
A fluent setter for the NotFoundOk property.
Public methodSetPr(Int32)
A fluent setter for the Pr property.
(Inherited from RiakOptionsT.)
Public methodSetPr(Quorum)
A fluent setter for the Pr property.
(Inherited from RiakOptionsT.)
Public methodSetPw(Int32)
A fluent setter for the Pw property.
(Inherited from RiakOptionsT.)
Public methodSetPw(Quorum)
A fluent setter for the Pw property.
(Inherited from RiakOptionsT.)
Public methodSetR(Int32)
A fluent setter for the R property.
(Inherited from RiakOptionsT.)
Public methodSetR(Quorum)
A fluent setter for the R property.
(Inherited from RiakOptionsT.)
Public methodSetRw(Int32)
A fluent setter for the Rw property.
(Inherited from RiakOptionsT.)
Public methodSetRw(Quorum)
A fluent setter for the Rw property.
(Inherited from RiakOptionsT.)
Public methodSetTimeout
A fluent setter for the Timeout property.
(Inherited from RiakOptionsT.)
Public methodSetW(Int32)
A fluent setter for the W property.
(Inherited from RiakOptionsT.)
Public methodSetW(Quorum)
A fluent setter for the W property.
(Inherited from RiakOptionsT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also