IStateProviderReplica2 Interface
Definition
Important
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.
Defines methods a reliable state provider replica must implement for Service Fabric to interact with it.
In this article
public interface IStateProviderReplica2 : Microsoft.ServiceFabric.Data.IStateProviderReplica
type IStateProviderReplica2 = interface
interface IStateProviderReplica
Public Interface IStateProviderReplica2
Implements IStateProviderReplica
Derived
Implements
Properties
Methods
Abort()
Forcefully abort the state provider replica.
(Inherited from IStateProviderReplica )
BackupAsync(BackupOption, TimeSpan, CancellationToken, Func<BackupInfo,CancellationToken,Task<Boolean>>)
Performs a backup of all reliable state managed by this IReliableStateManager .
(Inherited from IStateProviderReplica )
BackupAsync(Func<BackupInfo,CancellationToken,Task<Boolean>>)
Performs a full backup of all reliable state managed by this IReliableStateManager .
(Inherited from IStateProviderReplica )
ChangeRoleAsync(ReplicaRole, CancellationToken)
Notify the state provider replica that its role is changing, for example to Primary or Secondary.
(Inherited from IStateProviderReplica )
CloseAsync(CancellationToken)
Gracefully close the state provider replica.
(Inherited from IStateProviderReplica )
Initialize(StatefulServiceInitializationParameters)
Initialize the state provider replica using the service initialization information.
(Inherited from IStateProviderReplica )
OpenAsync(ReplicaOpenMode, IStatefulServicePartition, CancellationToken)
Open the state provider replica for use.
(Inherited from IStateProviderReplica )
RestoreAsync(String)
Restore a backup taken by BackupAsync(Func<BackupInfo,CancellationToken,Task<Boolean>>) or
BackupAsync(BackupOption, TimeSpan, CancellationToken, Func<BackupInfo,CancellationToken,Task<Boolean>>) .
(Inherited from IStateProviderReplica )
RestoreAsync(String, RestorePolicy, CancellationToken)
Restore a backup taken by BackupAsync(Func<BackupInfo,CancellationToken,Task<Boolean>>) or
BackupAsync(BackupOption, TimeSpan, CancellationToken, Func<BackupInfo,CancellationToken,Task<Boolean>>) .
(Inherited from IStateProviderReplica )
Applies to