Skip to content

Class BulkheadSelection

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the bulkhead-isolation inputs resolved for a Cephalon app.

public sealed class BulkheadSelection

objectBulkheadSelection

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

Initializes a new instance of the class.

[JsonConstructor]
public BulkheadSelection(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-selection instance.

public static BulkheadSelection Empty { get; }

BulkheadSelection

Gets a value indicating whether bulkhead isolation was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any bulkhead-selection inputs 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?