ICheckpointPartitionProcessorFactory.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET