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
BucketIdstringThe bucket identifier string.
QueueLengthintCurrent number of queued requests.
ProcessedlongTotal requests processed (completed + faulted).
RetriedlongTotal retry attempts.
TimedOutlongTotal requests that timed out in queue.
CancelledlongTotal requests cancelled before execution.
ConsecutiveFailuresintCurrent consecutive failure count (circuit breaker).
IsAliveboolWhether the worker loop task is still running.
IsFaultedboolWhether the worker loop task has faulted.