Click or drag to resize
RiakPutOptions Class
A collection of optional settings for updating objects from Riak.
Inheritance Hierarchy
SystemObject
  RiakClient.ModelsRiakOptionsRiakPutOptions
    RiakClient.ModelsRiakPutOptions

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

The RiakPutOptions type exposes the following members.

Constructors
  NameDescription
Public methodRiakPutOptions
Initializes a new instance of the RiakPutOptions class. Uses the "default" quorum settings for W, PW, and DW settings.
Top
Properties
  NameDescription
Public propertyDw
Durable writes - the number of replicas that must commit to durable storage before returning a successful response.
(Inherited from RiakOptionsT.)
Public propertyIfNoneMatch
Store the value only if there is no object already present with the same RiakObjectId.
Public propertyIfNotModified
Update the value only if the local vclock matches the server vclock.
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 propertyReturnBody
After an update, return the body along with the metadata when set to true. Default is false.
Public propertyReturnHead
Return the metadata only. When set to true, Riak will only return the updated object's metadata, and omit its body.
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 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 methodSetIfNoneMatch
Fluent setter for the SetIfNoneMatch(Boolean) property.
Public methodSetIfNotModified
Fluent setter for the IfNotModified 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 methodSetReturnBody
Fluent setter for the SetReturnBody(Boolean) property.
Public methodSetReturnHead
Fluent setter for the SetReturnHead(Boolean) property.
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