Provider Replica Interface
Defines methods a reliable state provider replica must implement for Service Fabric to interact with it.
public interface IStateProviderReplica
type IStateProviderReplica = interface
Public Interface IStateProviderReplica
Function called during suspected data-loss.
Forcefully abort the state provider replica.
|BackupAsync(BackupOption, TimeSpan, CancellationToken, Func<BackupInfo,CancellationToken,Task<Boolean>>)||
Performs a backup of all reliable state managed by this IReliableStateManager.
Performs a full backup of all reliable state managed by this IReliableStateManager.
Notify the state provider replica that its role is changing, for example to Primary or Secondary.
Gracefully close the state provider replica.
Initialize the state provider replica using the service initialization information.
|OpenAsync(ReplicaOpenMode, IStatefulServicePartition, CancellationToken)||
Open the state provider replica for use.
|RestoreAsync(String, RestorePolicy, CancellationToken)|