Interface ICheckpointManager
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Provides methods for running checkpoint asynchronously. Extensibility is provided to specify host-specific storage for storing the offset. This is provided when RegisterProcessorAsync<T>(Lease, ICheckpointManager) is called, to checkpoint the offset position using CheckpointAsync().
public interface ICheckpointManager
Methods
CheckpointAsync(Lease, string, long)
Stores the offset of a particular partition in the host-specific store.
Task CheckpointAsync(Lease lease, string offset, long sequenceNumber)
Parameters
lease
LeasePartition information against which to perform a checkpoint.
offset
stringCurrent position in the stream.
sequenceNumber
longThe sequence number of the partition.