Edytuj

Udostępnij za pośrednictwem


SiloMemoryStreamConfigurator<TSerializer> Class

Definition

Configures memory streams.

public class SiloMemoryStreamConfigurator<TSerializer> : Orleans.Hosting.SiloRecoverableStreamConfigurator, Orleans.Hosting.IPersistentStreamConfigurator, Orleans.Hosting.ISiloMemoryStreamConfigurator where TSerializer : class, IMemoryMessageBodySerializer
public class SiloMemoryStreamConfigurator<TSerializer> : Orleans.Hosting.SiloRecoverableStreamConfigurator, Orleans.Hosting.ISiloMemoryStreamConfigurator where TSerializer : class, IMemoryMessageBodySerializer
type SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> IMemoryMessageBodySerializer)> = class
    inherit SiloRecoverableStreamConfigurator
    interface ISiloMemoryStreamConfigurator
    interface IMemoryStreamConfigurator
    interface INamedServiceConfigurator
    interface ISiloRecoverableStreamConfigurator
    interface ISiloPersistentStreamConfigurator
    interface IPersistentStreamConfigurator
Public Class SiloMemoryStreamConfigurator(Of TSerializer)
Inherits SiloRecoverableStreamConfigurator
Implements IPersistentStreamConfigurator, ISiloMemoryStreamConfigurator
Public Class SiloMemoryStreamConfigurator(Of TSerializer)
Inherits SiloRecoverableStreamConfigurator
Implements ISiloMemoryStreamConfigurator

Type Parameters

TSerializer

The message body serializer type, which must implement IMemoryMessageBodySerializer.

Inheritance
Implements

Constructors

SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>, Action<Action<IApplicationPartManager>>)
SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>)

Initializes a new instance of the SiloMemoryStreamConfigurator<TSerializer> class.

Properties

ConfigureDelegate

Gets the delegate used to configure the service.

(Inherited from NamedServiceConfigurator)
Name

Gets the service name.

(Inherited from NamedServiceConfigurator)

Extension Methods

ConfigurePartitioning(IMemoryStreamConfigurator, Int32)

Configures partitioning for memory streams.

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.

ConfigureCacheEviction(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamCacheEvictionOptions>>)

Configures cache eviction options for a reliable stream provider.

ConfigureStatistics(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamStatisticOptions>>)

Configures statistics options for a reliable stream provider.

Applies to