Skip to content

Class BulkheadSettings

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes configuration-driven bulkhead settings for a Cephalon app.

public sealed class BulkheadSettings

objectBulkheadSettings

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public BulkheadSettings(bool? enabled = null, int? maxConcurrentExecutions = null, int? maxQueuedActions = null)

enabled bool?

Whether bulkhead isolation was explicitly enabled.

maxConcurrentExecutions int?

The maximum concurrent executions allowed inside the bulkhead.

maxQueuedActions int?

The maximum queued actions allowed before rejection.

Gets an empty bulkhead-settings instance.

public static BulkheadSettings Empty { get; }

BulkheadSettings

Gets a value indicating whether bulkhead isolation was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any bulkhead settings were explicitly supplied.

public bool HasValues { get; }

bool

Gets the maximum concurrent executions allowed inside the bulkhead.

public int? MaxConcurrentExecutions { get; }

int?

Gets the maximum queued actions allowed before rejection.

public int? MaxQueuedActions { get; }

int?