ReadPolicy Class

Read policy attributes used in read 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 ReadPolicy : IMessage<ReadPolicy>, 
	IMessage, IEquatable<ReadPolicy>, IDeepCloneable<ReadPolicy>, 
	IBufferMessage
Inheritance
Object    ReadPolicy
Implements
IBufferMessage, IDeepCloneableReadPolicy, IMessage, IMessageReadPolicy, IEquatableReadPolicy

Constructors

ReadPolicyInitializes a new instance of the ReadPolicy class
ReadPolicy(ReadPolicy)Initializes a new instance of the ReadPolicy 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