StreamQueueCheckpointer
class
Namespace: Orleans.Streams
Coalesces and persists stream queue checkpoints using an
IStreamCheckpointStore. public sealed class StreamQueueCheckpointer : IStreamQueueCheckpointer<string>Constructors
StreamQueueCheckpointer(IStreamCheckpointStore, StreamQueueCheckpointerOptions)Initializes a new instance of theStreamQueueCheckpointerclass.
Properties
CheckpointExistsGets a value indicating whether a checkpoint exists.
Methods
FlushAsync(CancellationToken)Flushes any pending checkpoint to persistent storage, ensuring the latest offset is durably saved. Called during shutdown or rebalancing to prevent message replay on restart.LoadLoads the checkpoint.Load(CancellationToken)Loads the checkpoint.Update(string, DateTime)Updates the checkpoint.Update(string, DateTime, CancellationToken)Updates the checkpoint.
