Table of Contents

Constructor BucketDiagnostics

Namespace
DisCatSharp.Net
Assembly
DisCatSharp.dll

BucketDiagnostics(string, int, long, long, long, long, int, bool, bool)

Diagnostic snapshot of a single bucket worker's state.

public BucketDiagnostics(string BucketId, int QueueLength, long Processed, long Retried, long TimedOut, long Cancelled, int ConsecutiveFailures, bool IsAlive, bool IsFaulted)

Parameters

BucketId string

The bucket identifier string.

QueueLength int

Current number of queued requests.

Processed long

Total requests processed (completed + faulted).

Retried long

Total retry attempts.

TimedOut long

Total requests that timed out in queue.

Cancelled long

Total requests cancelled before execution.

ConsecutiveFailures int

Current consecutive failure count (circuit breaker).

IsAlive bool

Whether the worker loop task is still running.

IsFaulted bool

Whether the worker loop task has faulted.