Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows a stateful replica to configure the FabricReplicator when creating it via CreateReplicator(IStateProvider, ReplicatorSettings).
public sealed class ReplicatorSettings
type ReplicatorSettings = class
Public NotInheritable Class ReplicatorSettings
Initializes a new instance of the ReplicatorSettings class.
Gets or sets the amount of time that the replicator waits after receiving an operation before sending back an acknowledgment.
Gets or sets the initial size of the replication queue size.
Gets or sets the maximum size of a message that can be transmitted via the replicator. These include replication messages, copy messages and copy context messages. The unit of representation is bytes.
Gets or sets the maximum size for the replication queue memory.
Gets or sets the maximum size for the replication queue.
Defines how long the primary replicator waits for receiving a quorum of acknowledgments for any pending replication operations before processing a reconfiguration request, that could potentially result in ‘cancelling’ the pending replication operations.
Configures the address that this replicator will use when communicating with other Replicators.
Configures the listen address that this replicator will use to receieve information from other Replicators.
Configures the publish address that this replicator will use to send information to other Replicators.
Prevents the optimistic acknowledgment of operations in non-persistent services by requiring that the service calls Acknowledge() before it pumps the next operation.
Defines how long the FabricReplicator waits after it transmits a message from the primary to the secondary for the secondary to acknowledge that it has received the message.
Typically, operations in the secondary replicator are kept in the queue to be able to catchup replicas if it is promoted to a primary. With this flag enabled, the secondary replicator releases the operation as soon as it is acknowledged by the user service.
Allows the service to define security credentials for securing the traffic between replicators.
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
|LoadFrom(CodePackageActivationContext, String, String)||
Loads the ReplicatorSettings object from the service configuration settings file.