WritePolicy Class

Write policy attributes used in write database commands that are not part of the wire protocol.

Definition

Namespace: Aerospike.Client.KVS
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.0
C#
public sealed class WritePolicy : IMessage<WritePolicy>, 
	IMessage, IEquatable<WritePolicy>, IDeepCloneable<WritePolicy>, 
	IBufferMessage
Inheritance
Object    WritePolicy
Implements
IBufferMessage, IDeepCloneableWritePolicy, IMessage, IMessageWritePolicy, IEquatableWritePolicy

Constructors

WritePolicyInitializes a new instance of the WritePolicy class
WritePolicy(WritePolicy)Initializes a new instance of the WritePolicy class

Properties

Descriptor 
Parser 
ReadModeAP Read policy for SC (strong consistency) namespaces.
ReadModeSC Replica algorithm used to determine the target node for a single record command. Scan and query are not affected by replica algorithms.
Replica Read policy for AP (availability) namespaces.

Methods

Fields

ReadModeAPFieldNumberField number for the "readModeAP" field.
ReadModeSCFieldNumberField number for the "readModeSC" field.
ReplicaFieldNumberField number for the "replica" field.

See Also