Documentation

ReadModeSC
in package

ReadModeSC is the read policy in SC (strong consistency) mode namespaces.

Determines SC read consistency options.

Table of Contents

Methods

AllowReplica()  : ReadModeSC
ReadModeSCAllowReplica indicates that the server may read from master or any full (non-migrating) replica.
AllowUnavailable()  : ReadModeSC
ReadModeSCAllowUnavailable indicates that the server may read from master or any full (non-migrating) replica or from unavailable partitions. Increasing sequence of record versions is not guaranteed.
Linearize()  : ReadModeSC
ReadModeSCLinearize ensures ALL clients will only see an increasing sequence of record versions.
Session()  : ReadModeSC
ReadModeSCSession ensures this client will only see an increasing sequence of record versions.

Methods

AllowReplica()

ReadModeSCAllowReplica indicates that the server may read from master or any full (non-migrating) replica.

public static AllowReplica() : ReadModeSC

Increasing sequence of record versions is not guaranteed.

Return values
ReadModeSC

AllowUnavailable()

ReadModeSCAllowUnavailable indicates that the server may read from master or any full (non-migrating) replica or from unavailable partitions. Increasing sequence of record versions is not guaranteed.

public static AllowUnavailable() : ReadModeSC
Return values
ReadModeSC

Session()

ReadModeSCSession ensures this client will only see an increasing sequence of record versions.

public static Session() : ReadModeSC

Server only reads from master. This is the default.

Return values
ReadModeSC

        
On this page

Search results