RiakBucketPropertiesSetBasicQuorum Method |
Fluent setter for the
BasicQuorum property.
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 an object
does not exist, thereby only reading a "quorum" of not-founds instead of "N" not-founds.
Namespace:
RiakClient.Models
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax public RiakBucketProperties SetBasicQuorum(
bool value
)
member SetBasicQuorum :
value : bool -> RiakBucketProperties
Parameters
- value
- Type: SystemBoolean
The value to set the property to.
Return Value
Type:
RiakBucketPropertiesA reference to the current properties object.
Remarks
This property is not typically modified.
See http://docs.basho.com/riak/latest/dev/advanced/replication-properties/#Early-Failure-Return-with-code-basic_quorum-code-
for more information.
See Also