Redigera

Dela via


AzureSilo Class

Definition

Caution

This type is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.

Wrapper class for an Orleans silo running in the current host process.

public class AzureSilo
[System.Obsolete("This type is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.")]
public class AzureSilo
type AzureSilo = class
[<System.Obsolete("This type is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.")>]
type AzureSilo = class
Public Class AzureSilo
Inheritance
AzureSilo
Attributes

Constructors

AzureSilo()

Constructor

AzureSilo(ILoggerFactory)

Constructor

Properties

ConfigureSiloHostDelegate

delegate to add some configuration to the client

DataConnectionConfigurationSettingName

The name of the configuration key value for locating the DataConnectionString setting from the Azure configuration for this role. Defaults to DataConnectionString

MaxRetries

Number of times to retrying if a secondary silo is unable to connect to the primary silo for this deployment. Defaults to 120 times.

ProxyEndpointConfigurationKeyName

The name of the configuration key value for locating the OrleansProxyEndpoint setting from the Azure configuration for this role. Defaults to OrleansProxyEndpoint

SiloEndpointConfigurationKeyName

The name of the configuration key value for locating the OrleansSiloEndpoint setting from the Azure configuration for this role. Defaults to OrleansSiloEndpoint

StartupRetryPause

Amount of time to pause before retrying if a secondary silo is unable to connect to the primary silo for this deployment. Defaults to 5 seconds.

Methods

CreateDefaultLoggerFactory(String)
DefaultConfiguration()

Default cluster configuration

Run()

Makes this Orleans silo begin executing and become active. Note: This method call will only return control back to the caller when the silo is shutdown.

Run(CancellationToken)

Makes this Orleans silo begin executing and become active. Note: This method call will only return control back to the caller when the silo is shutdown or an external request for cancellation has been issued.

Start(ClusterConfiguration, String)

Initialize this Orleans silo for execution

Start(String, String)

Initialize this Orleans silo for execution. Config data will be read from silo config file as normal

Stop()

Stop this Orleans silo executing.

ValidateConfiguration(ClusterConfiguration)

Async method to validate specific cluster configuration

Applies to