Udostępnij za pośrednictwem


ICheckpointPartitionProcessorFactory.Create Method

Definition

Creates an instance of a IPartitionProcessor.

public Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IPartitionProcessor Create (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease lease, Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseCheckpointer leaseCheckpointer, Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver observer);
abstract member Create : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease * Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseCheckpointer * Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver -> Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IPartitionProcessor
Public Function Create (lease As ILease, leaseCheckpointer As ILeaseCheckpointer, observer As IChangeFeedObserver) As IPartitionProcessor

Parameters

lease
ILease

Lease to be used for partition processing

leaseCheckpointer
ILeaseCheckpointer

Default lease checkpointer

observer
IChangeFeedObserver

Observer to be used

Returns

An instance of a IPartitionProcessor.

Applies to