Delen via


IAtomicGroupStateProvider Interface

Definition

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