Table of Contents

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 Lease

Partition information against which to perform a checkpoint.

offset string

Current position in the stream.

sequenceNumber long

The sequence number of the partition.

Returns

Task

Returns Task.