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

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.

Invalid 0

An invalid secondary notification mode. Reserved for future use.

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.

None 1

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

Applies to