Table of Contents

Class BulkheadMetrics

Namespace
Excalibur.Dispatch.Resilience.Polly
Assembly
Excalibur.Dispatch.Resilience.Polly.dll

Bulkhead metrics for monitoring.

public sealed class BulkheadMetrics
Inheritance
BulkheadMetrics
Inherited Members
Extension Methods

Properties

ActiveExecutions

Gets the number of currently active operations.

public int ActiveExecutions { get; init; }

Property Value

int

The number of in-flight operations presently executing.

AvailableCapacity

Gets the available capacity for new operations.

public int AvailableCapacity { get; init; }

Property Value

int

The number of remaining execution slots before reaching the concurrency limit.

MaxConcurrency

Gets the maximum allowed concurrent operations.

public int MaxConcurrency { get; init; }

Property Value

int

The highest number of operations that may execute simultaneously.

MaxQueueLength

Gets the maximum queue length.

public int MaxQueueLength { get; init; }

Property Value

int

The maximum number of queued operations permitted when concurrency is saturated.

Name

Gets the name of the bulkhead.

public string Name { get; init; }

Property Value

string

The identifier associated with the bulkhead instance.

QueueLength

Gets the current queue length.

public int QueueLength { get; init; }

Property Value

int

The number of operations waiting in the queue.

QueuedExecutions

Gets the total operations queued.

public long QueuedExecutions { get; init; }

Property Value

long

The number of operations that waited in the queue before execution.

RejectedExecutions

Gets the total operations rejected.

public long RejectedExecutions { get; init; }

Property Value

long

The number of operations denied due to the bulkhead being full.

TotalExecutions

Gets the total operations executed.

public long TotalExecutions { get; init; }

Property Value

long

The cumulative number of operations processed (successful or otherwise).

UtilizationPercentage

Gets the utilization percentage.

public double UtilizationPercentage { get; }

Property Value

double

The bulkhead utilization expressed as a percentage in the range 0-100.