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
Int64

The ID of the group to be committed.

cancellationToken
CancellationToken

The 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
Int64

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

Returns

Task<Int64>

Returns Task<TResult> of type long, the LSN of the commit operation.

Applies to