Edit

Share via


SiloBuilderStreamingExtensions.AddPersistentStreams Method

Definition

Configures the silo to use persistent streams.

public static Orleans.Hosting.ISiloBuilder AddPersistentStreams (this Orleans.Hosting.ISiloBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.ISiloBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddPersistentStreams (builder As ISiloBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of ISiloPersistentStreamConfigurator)) As ISiloBuilder

Parameters

builder
ISiloBuilder

The builder.

name
String

The provider name.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

The provider adapter factory.

configureStream
Action<ISiloPersistentStreamConfigurator>

The stream provider configuration delegate.

Returns

The silo builder.

Applies to