Show / Hide Table of Contents

Class NodeConfiguration

Individual node-specific silo configuration parameters.

Inheritance
System.Object
NodeConfiguration
Namespace: Orleans.Runtime.Configuration
Assembly: Orleans.Core.Legacy.dll
Syntax
public class NodeConfiguration : IStatisticsConfiguration

Constructors

| Improve this Doc View Source

NodeConfiguration()

Declaration
public NodeConfiguration()
| Improve this Doc View Source

NodeConfiguration(NodeConfiguration)

Declaration
public NodeConfiguration(NodeConfiguration other)
Parameters
Type Name Description
NodeConfiguration other

Properties

| Improve this Doc View Source

ActivationSchedulingQuantum

ActivationSchedulingQuantum is a soft time limit on the duration of activation macro-turn (a number of micro-turns). If a activation was running its micro-turns longer than this, we will give up the thread. If this is set to zero or a negative number, then the full work queue is drained (MaxWorkItemsPerTurn allowing).

Declaration
public TimeSpan ActivationSchedulingQuantum { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

AdditionalAssemblyDirectories

Declaration
public Dictionary<string, SearchOption> AdditionalAssemblyDirectories { get; set; }
Property Value
Type Description
Dictionary<System.String, SearchOption>
| Improve this Doc View Source

AddressType

The AddressFamilyof the IP address of this silo.

Declaration
public AddressFamily AddressType { get; set; }
Property Value
Type Description
AddressFamily
| Improve this Doc View Source

DefaultConnectionLimit

Declaration
public int DefaultConnectionLimit { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DelayWarningThreshold

The DelayWarningThreshold attribute specifies the work item queuing delay threshold, at which a warning log message is written. That is, if the delay between enqueuing the work item and executing the work item is greater than DelayWarningThreshold, a warning log is written. The default value is 10 seconds.

Declaration
public TimeSpan DelayWarningThreshold { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

DNSHostName

The DNS host name of this silo. This is a true host name, no IP address. It is NOT settable, equals Dns.GetHostName().

Declaration
public string DNSHostName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Endpoint

The IPEndPoint this silo uses for silo-to-silo communication.

Declaration
public IPEndPoint Endpoint { get; }
Property Value
Type Description
IPEndPoint
| Improve this Doc View Source

ExcludedGrainTypes

Declaration
public List<string> ExcludedGrainTypes { get; set; }
Property Value
Type Description
List<System.String>
| Improve this Doc View Source

Expect100Continue

Declaration
public bool Expect100Continue { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Generation

The epoch generation number for this silo.

Declaration
public int Generation { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

HostNameOrIPAddress

The host name or IP address of this silo. This is a configurable IP address or Hostname.

Declaration
public string HostNameOrIPAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsGatewayNode

Whether this is silo is a proxying gateway silo.

Declaration
public bool IsGatewayNode { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsPrimaryNode

Whether this is a primary silo (applies for dev settings only).

Declaration
public bool IsPrimaryNode { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSeedNode

Whether this is one of the seed silos (applies for dev settings only).

Declaration
public bool IsSeedNode { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LimitManager

The values for various silo limits.

Declaration
public LimitManager LimitManager { get; }
Property Value
Type Description
LimitManager
| Improve this Doc View Source

LoadSheddingEnabled

The LoadShedding element specifies the gateway load shedding configuration for the node. If it does not appear, gateway load shedding is disabled.

Declaration
public bool LoadSheddingEnabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LoadSheddingLimit

The LoadLimit attribute specifies the system load, in CPU%, at which load begins to be shed. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default. If load shedding is enabled and this attribute does not appear, then the default limit is 95%.

Declaration
public int LoadSheddingLimit { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxActiveThreads

The MaxActiveThreads attribute specifies the maximum number of simultaneous active threads the scheduler will allow. Generally this number should be roughly equal to the number of cores on the node. Using a value of 0 will look at System.Environment.ProcessorCount to decide the number instead, which is only valid when set from xml config

Declaration
public int MaxActiveThreads { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MinDotNetThreadPoolSize

Declaration
public int MinDotNetThreadPoolSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Port

The port this silo uses for silo-to-silo communication.

Declaration
public int Port { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PropagateActivityId

Whether Trace.CorrelationManager.ActivityId settings should be propagated into grain calls.

Declaration
public bool PropagateActivityId { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ProxyGatewayEndpoint

The IPEndPoint this silo uses for (gateway) silo-to-client communication.

Declaration
public IPEndPoint ProxyGatewayEndpoint { get; set; }
Property Value
Type Description
IPEndPoint
| Improve this Doc View Source

SiloName

The name of this silo.

Declaration
public string SiloName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SiloShutdownEventName

Declaration
public string SiloShutdownEventName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StartupTypeName

Specifies the name of the Startup class in the configuration file.

Declaration
public string StartupTypeName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StatisticsCollectionLevel

Declaration
public StatisticsLevel StatisticsCollectionLevel { get; set; }
Property Value
Type Description
StatisticsLevel
| Improve this Doc View Source

StatisticsLogWriteInterval

The LogWriteInterval attribute specifies the frequency of updating the statistics in the log file. The default is 5 minutes.

Declaration
public TimeSpan StatisticsLogWriteInterval { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

StatisticsMetricsTableWriteInterval

The MetricsTableWriteInterval attribute specifies the frequency of updating the metrics in Azure table. The default is 30 seconds.

Declaration
public TimeSpan StatisticsMetricsTableWriteInterval { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

StatisticsPerfCountersWriteInterval

The PerfCounterWriteInterval attribute specifies the frequency of updating the windows performance counters. The default is 30 seconds.

Declaration
public TimeSpan StatisticsPerfCountersWriteInterval { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

StatisticsProviderName

Declaration
public string StatisticsProviderName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StatisticsWriteLogStatisticsToTable

The WriteLogStatisticsToTable attribute specifies whether log statistics should also be written into a separate, special Azure table. The default is yes.

Declaration
public bool StatisticsWriteLogStatisticsToTable { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Subnet

Declaration
public byte[] Subnet { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

TelemetryConfiguration

Declaration
public TelemetryConfiguration TelemetryConfiguration { get; }
Property Value
Type Description
TelemetryConfiguration
| Improve this Doc View Source

TurnWarningLengthThreshold

TurnWarningLengthThreshold is a soft time limit to generate trace warning when the micro-turn executes longer then this period in CPU.

Declaration
public TimeSpan TurnWarningLengthThreshold { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

UseNagleAlgorithm

Declaration
public bool UseNagleAlgorithm { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX