PersistentStreamProvider
class
Namespace: Orleans.Providers.Streams.Common
Persistent stream provider that uses an adapter for persistence
public class PersistentStreamProvider : ILifecycleParticipant<ILifecycleObservable>, IControllable, IStreamSubscriptionManagerRetriever, IInternalStreamProvider, IStreamProviderConstructors
PersistentStreamProvider(string, StreamPubSubOptions, StreamLifecycleOptions, IProviderRuntime, DeepCopier, ILogger<PersistentStreamProvider>)Initializes a new instance of thePersistentStreamProviderclass.
Properties
IsRewindableGets a value indicating whether this is a rewindable provider - supports creating rewindable streams (streams that allow subscribing from previous point in time).NameGets the name of the stream provider.
Methods
Create(IServiceProvider, string)Creates a persistent stream provider.ExecuteCommand(int, object?)A function to execute a control command.GetStream(StreamId)Gets the stream with the specified identity.GetStreamSubscriptionManagerGets the stream subscription manager.Participate(ILifecycleObservable)Adds the provided observer as a participant in the lifecycle.ParticipateIn(IServiceProvider, string)Gets the named persistent stream provider as a participant in the specified lifecycle.
