Condividi tramite


FabricReplicator Class

Definition

Replicates state for high availability and reliability.

public sealed class FabricReplicator : System.Fabric.IReplicator, System.Fabric.IReplicatorCatchupSpecificQuorum
type FabricReplicator = class
    interface IReplicator
    interface IPrimaryReplicator
    interface IReplicatorCatchupSpecificQuorum
Public NotInheritable Class FabricReplicator
Implements IReplicator, IReplicatorCatchupSpecificQuorum
Inheritance
FabricReplicator
Implements

Remarks

Provides the default implementation of the IStateReplicator, IReplicator, and IPrimaryReplicator interfaces, which user services can use, along with their implementation of the IStateProvider interface.

An instance of the FabricReplicator class is obtained via the CreateReplicator(IStateProvider, ReplicatorSettings) method.

Fields

InvalidAtomicGroupId

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

UnknownSequenceNumber

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

Properties

StateReplicator

Gets the IStateReplicator which can be used to replicate state

StateReplicator2

Gets the IStateReplicator2 which can be used to replicate state

Explicit Interface Implementations

IPrimaryReplicator.BuildReplicaAsync(ReplicaInformation, CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IPrimaryReplicator.OnDataLossAsync(CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IPrimaryReplicator.RemoveReplica(Int64)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IPrimaryReplicator.UpdateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration, ReplicaSetConfiguration)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IPrimaryReplicator.UpdateCurrentReplicaSetConfiguration(ReplicaSetConfiguration)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IPrimaryReplicator.WaitForCatchUpQuorumAsync(ReplicaSetQuorumMode, CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.Abort()

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.ChangeRoleAsync(Epoch, ReplicaRole, CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.CloseAsync(CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.GetCatchUpCapability()

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.GetCurrentProgress()

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.OpenAsync(CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

IReplicator.UpdateEpochAsync(Epoch, CancellationToken)

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

Applies to