IAtomicGroupStateReplicator.ReplicateAtomicGroupCommitAsync(Int64, CancellationToken, Int64) Method

Definition

Asynchronously commits state replication for the atomic group.

public System.Threading.Tasks.Task<long> ReplicateAtomicGroupCommitAsync (long atomicGroupId, System.Threading.CancellationToken cancellationToken, out long commitSequenceNumber);
abstract member ReplicateAtomicGroupCommitAsync : int64 * System.Threading.CancellationToken *  -> System.Threading.Tasks.Task<int64>

Parameters

atomicGroupId
System.Int64

The ID of the group to be committed.

cancellationToken
System.Threading.CancellationToken

The System.Threading.CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled.

commitSequenceNumber
System.Int64

The LSN of the commit operation, as an out parameter.

Returns

System.Threading.Tasks.Task<System.Int64>

Returns System.Threading.Tasks.Task`1 of type long, the LSN of the commit operation.

Applies to