IPartitionProcessor Interface
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.
Provides an API to run continuous processing on a single partition of some resource. Created by Create(ILease, IChangeFeedObserver) or Create(ILease, ILeaseCheckpointer, IChangeFeedObserver) after some lease is acquired by the current host. Processing can perform the following tasks in a loop:
- Read some data from the resource partition.
- Handle possible problems with the read.
- Pass the obtained data to an observer by calling ProcessChangesAsync(IChangeFeedObserverContext, IReadOnlyList<Document>, CancellationToken) with the context IChangeFeedObserverContext.
public interface IPartitionProcessor
type IPartitionProcessor = interface
Public Interface IPartitionProcessor
Methods
RunAsync(CancellationToken) |
Perform partition processing. |
Applies to
Azure SDK for .NET
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: