Condividi tramite


KeyValueStoreReplica.SecondaryNotificationMode Enum

Definition

Specifies the behavior of OnCopyComplete(KeyValueStoreEnumerator) and OnReplicationOperation(IEnumerator<KeyValueStoreNotification>) for replicas in the secondary role.

public enum KeyValueStoreReplica.SecondaryNotificationMode
type KeyValueStoreReplica.SecondaryNotificationMode = 
Public Enum KeyValueStoreReplica.SecondaryNotificationMode
Inheritance
KeyValueStoreReplica.SecondaryNotificationMode

Fields

Name Value Description
Invalid 0

An invalid secondary notification mode. Reserved for future use.

None 1

Secondary notifications are disabled. Neither OnCopyComplete(KeyValueStoreEnumerator) nor OnReplicationOperation(IEnumerator<KeyValueStoreNotification>) will be invoked.

NonBlockingQuorumAcked 2

The secondary replica may have already applied and acknowledged replication operations when the OnReplicationOperation(IEnumerator<KeyValueStoreNotification>) callback method is invoked. Operations are guaranteed to have been acked by a quorum of replicas by the time the callback is invoked.

BlockSecondaryAck 3

The secondary replica will not apply or acknowledge replication operations until the OnReplicationOperation(IEnumerator<KeyValueStoreNotification>) callback method returns. Operations are not guaranteed to have been acked by a quorum of replicas at the time the callback is invoked.

Applies to