Share via


IOperation Interface

Definition

Describes the data that is obtained from the state replicator.

public interface IOperation
type IOperation = interface
Public Interface IOperation

Remarks

IOperation is the base interface that describes state changes that are delivered to a Secondary replica.

They contain the ReplicateAsync(OperationData, CancellationToken, Int64) and the sequence number and other identifying information.

Properties

AtomicGroupId

Identifies the atomic group, if this object that implements IOperation is a part of an atomic group. Atomic groups are only available when a service is a part of service group.

Data

Gets the OperationData that are provided by the Primary replica.

OperationType

Gets the type of this operation.

SequenceNumber

Gets the sequence number of this operation.

Methods

Acknowledge()

Acknowledges that this operation has been successfully applied at the Secondary replica.

Applies to