IAtomicGroupStateProvider 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.
Describes additional methods of the IAtomicGroupStateProvider interface that a user service must implement to take advantage of the atomic group functionality of a service group.
public interface IAtomicGroupStateProvider : System.Fabric.IStateProvider
type IAtomicGroupStateProvider = interface
interface IStateProvider
Public Interface IAtomicGroupStateProvider
Implements IStateProvider
- Implements
Methods
AtomicGroupCommitAsync(Int64, Int64, CancellationToken) |
Commits a particular atomic group. |
AtomicGroupRollbackAsync(Int64, Int64, CancellationToken) |
Rolls back a particular atomic group. |
AtomicGroupUndoProgressAsync(Int64, CancellationToken) |
Indicates that progress beyond a particular commit sequence number that is provided via AtomicGroupCommitAsync(Int64, Int64, CancellationToken) should be undone. |
GetCopyContext() |
Obtains context on a secondary replica after it is created and opened to send context to the primary replica. (Inherited from IStateProvider) |
GetCopyState(Int64, IOperationDataStream) |
Obtains state on a primary replica that is required to build a secondary replica. (Inherited from IStateProvider) |
GetLastCommittedSequenceNumber() |
Obtains the last sequence number that the service has committed, also known as Logical Sequence Number (LSN). (Inherited from IStateProvider) |
OnDataLossAsync(CancellationToken) |
Indicates that a write quorum of replicas in this replica set has been lost, and that therefore data loss might have occurred. The replica set consists of a majority of replicas, which includes the primary replica. (Inherited from IStateProvider) |
UpdateEpochAsync(Epoch, Int64, CancellationToken) |
Indicates to a replica that the configuration of a replica set has changed due to a change or attempted change to the primary replica. The change occurs due to failure or load balancing of the previous primary replica. Epoch changes act as a barrier by segmenting operations into the exact configuration periods in which they were sent by a specific primary replica. (Inherited from IStateProvider) |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기