Edit

Share via


SiloPersistentStreamConfigurator Class

Definition

Configures persistent streams.

public class SiloPersistentStreamConfigurator : Orleans.Hosting.NamedServiceConfigurator, Orleans.Hosting.IPersistentStreamConfigurator, Orleans.Hosting.ISiloPersistentStreamConfigurator
public class SiloPersistentStreamConfigurator : Orleans.Hosting.NamedServiceConfigurator, Orleans.Hosting.ISiloPersistentStreamConfigurator
type SiloPersistentStreamConfigurator = class
    inherit NamedServiceConfigurator
    interface ISiloPersistentStreamConfigurator
    interface IPersistentStreamConfigurator
    interface INamedServiceConfigurator
Public Class SiloPersistentStreamConfigurator
Inherits NamedServiceConfigurator
Implements IPersistentStreamConfigurator, ISiloPersistentStreamConfigurator
Public Class SiloPersistentStreamConfigurator
Inherits NamedServiceConfigurator
Implements ISiloPersistentStreamConfigurator
Inheritance
SiloPersistentStreamConfigurator
Derived
Implements

Constructors

SiloPersistentStreamConfigurator(String, Action<Action<IServiceCollection>>, Func<IServiceProvider,String,IQueueAdapterFactory>)

Initializes a new instance of the SiloPersistentStreamConfigurator class.

Properties

ConfigureDelegate

Gets the delegate used to configure the service.

(Inherited from NamedServiceConfigurator)
Name

Gets the service name.

(Inherited from NamedServiceConfigurator)

Extension Methods

Configure<TOptions>(INamedServiceConfigurator, Action<OptionsBuilder<TOptions>>)

Configures options for a named service.

ConfigureComponent<TComponent>(INamedServiceConfigurator, Func<IServiceProvider,String,TComponent>)

Adds a singleton component to a named service.

ConfigureComponent<TOptions,TComponent>(INamedServiceConfigurator, Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>)

Adds a singleton component to a named service and configures options for the named service.

ConfigureLifecycle<T>(INamedServiceConfigurator)
ConfigureStreamPubSub(IPersistentStreamConfigurator, StreamPubSubType)

Configures the stream pub/sub type.

UseAzureBlobLeaseProvider(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<AzureBlobLeaseProviderOptions>>)

Configure silo to use azure blob lease provider

UseConsistentRingQueueBalancer(ISiloPersistentStreamConfigurator)

Configures the stream provider to use the consistent ring queue balancer.

UseDynamicAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

Stream queue balancer that uses Azure deployment information and silo statuses from Membership oracle for load balancing.
Requires silo running in Azure. This Balancer uses both the information about the full set of silos as reported by Azure role code and the information from Membership oracle about currently active (alive) silos and rebalances queues from non active silos.

UseDynamicClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

Configures the stream provider to use the dynamic cluster configuration deployment balancer.

UseLeaseBasedQueueBalancer(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>)

Configures the stream provider to use the lease based queue balancer.

UseStaticAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

Stream queue balancer that uses Azure deployment information for load balancing. Requires silo running in Azure. This Balancer uses both the information about the full set of silos as reported by Azure role code but does NOT use the information from Membership oracle about currently alive silos. That is, it does not rebalance queues based on dynamic changes in the cluster Membership.

UseStaticClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

Configures the stream provider to use the static cluster configuration deployment balancer.

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IMessageDeliveryBackoffProvider>)

Configures the pulling agents' message delivery backoff provider.

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IQueueReaderBackoffProvider>)

Configures the pulling agents' queue reader backoff provider.

ConfigureLifecycle(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<StreamLifecycleOptions>>)

Configures the lifecycle.

ConfigurePartitionBalancing(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>)

Configures partition balancing.

ConfigurePartitionBalancing<TOptions>(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>, Action<OptionsBuilder<TOptions>>)

Configures partition balancing.

ConfigurePullingAgent(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<StreamPullingAgentOptions>>)

Configures the pulling agent.

Applies to