Class ThreadPoolStatistics
Statistics for a thread pool
Inherited Members
Namespace: OpenSearch.Net.Diagnostics
Assembly: OpenSearch.Net.dll
Syntax
public class ThreadPoolStatistics
Constructors
| Edit this page View SourceThreadPoolStatistics(int, int, int, int)
Declaration
public ThreadPoolStatistics(int min, int max, int busy, int free)
Parameters
Type | Name | Description |
---|---|---|
int | min | |
int | max | |
int | busy | |
int | free |
Properties
| Edit this page View SourceBusy
The difference between the maximum number of thread pool threads returned by Max, and the number currently free.
Declaration
public int Busy { get; }
Property Value
Type | Description |
---|---|
int |
Free
The difference between the maximum number of thread pool threads returned by Max, and the number currently active.
Declaration
public int Free { get; }
Property Value
Type | Description |
---|---|
int |
Max
The number of requests to the thread pool that can be active concurrently. All requests above that number remain queued until thread pool threads become available.
Declaration
public int Max { get; }
Property Value
Type | Description |
---|---|
int |
Min
The minimum number of threads the thread pool creates on demand, as new requests are made, before switching to an algorithm for managing thread creation and destruction.
Declaration
public int Min { get; }
Property Value
Type | Description |
---|---|
int |