你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ICheckpointManager 接口

定义

提供异步运行检查点的方法。 提供扩展性以指定用于存储偏移量的特定于主机的存储。 调用 时 RegisterProcessorAsync<T>(Lease, ICheckpointManager) ,会提供此项,以便使用 CheckpointAsync(EventData)检查偏移位置。

public interface ICheckpointManager
type ICheckpointManager = interface
Public Interface ICheckpointManager

方法

CheckpointAsync(Lease, String, Int64)

将特定分区的偏移量存储在特定于主机的存储中。

适用于