Appearance
ThrottleStats Constructors
Definition
- Namespace:
JASE - Assembly:
JASE.Concurrency.dll
ThrottleStats(int MaxRequests, TimeSpan Window, int ActiveCount, int AvailableSlots, bool IsAtCapacity, bool IsAdmissionSuspended, TimeSpan? NextSlotIn, int PendingWaiters, long TotalAdmissions, long TotalAdmissionWaits, long TotalConfigures, long TotalResets, long TotalDrainOperations)
csharp
ThrottleStats(int MaxRequests, TimeSpan Window, int ActiveCount, int AvailableSlots, bool IsAtCapacity, bool IsAdmissionSuspended, TimeSpan? NextSlotIn, int PendingWaiters, long TotalAdmissions, long TotalAdmissionWaits, long TotalConfigures, long TotalResets, long TotalDrainOperations)Point-in-time and cumulative telemetry for a Throttle instance.
Parameters
| Name | Description |
|---|---|
ActiveCount | The number of admissions currently within the active window. |
AvailableSlots | The number of additional admissions allowed before the window is at capacity. |
IsAdmissionSuspended | true when admissions are paused during configure or drain. |
IsAtCapacity | true when ActiveCount is greater than or equal to MaxRequests. |
MaxRequests | The maximum number of requests allowed within Window. |
NextSlotIn | The time until the oldest admission expires from the window, or when the window is empty. |
PendingWaiters | The number of callers currently blocked waiting for admission. |
TotalAdmissionWaits | The total number of admission wait iterations since the instance was created. |
TotalAdmissions | The total number of successful admissions since the instance was created. |
TotalConfigures | The total number of completed configure operations. |
TotalDrainOperations | The total number of completed drain operations. |
TotalResets | The total number of Reset calls. |
Window | The sliding time window for admitted requests. |