Edytuj

Udostępnij za pośrednictwem


NoOpCheckpointer Class

Definition

NoOpCheckpointer is used in EventDataGeneratorStreamProvider eco system to replace the default Checkpointer which requires a back end storage. In EventHubDataGeneratorStreamProvider, it is generating EventData on the fly when receiver pull messages from the queue, which means it doesn't support recoverable stream, hence check pointing won't bring much value there. So a checkpointer with no ops should be enough.

public class NoOpCheckpointer : Orleans.Streams.IStreamQueueCheckpointer<string>
type NoOpCheckpointer = class
    interface IStreamQueueCheckpointer<string>
Public Class NoOpCheckpointer
Implements IStreamQueueCheckpointer(Of String)
Inheritance
NoOpCheckpointer
Implements

Constructors

NoOpCheckpointer()

Fields

Instance

Properties

CheckpointExists

Methods

Load()
Update(String, DateTime)

Applies to