pub struct ThreadPoolInfoContext {
pub available_worker_threads: Annotated<u64>,
pub available_completion_port_threads: Annotated<u64>,
pub max_worker_threads: Annotated<u64>,
pub max_completion_port_threads: Annotated<u64>,
pub min_worker_threads: Annotated<u64>,
pub min_completion_port_threads: Annotated<u64>,
pub other: Object<Value>,
}Expand description
Thread pool info context.
Fields§
§available_worker_threads: Annotated<u64>Number of worker threads currently available in the thread pool. Worker threads are used for executing application code and handling CPU-bound tasks.
available_completion_port_threads: Annotated<u64>Number of completion port threads (also known as I/O completion port threads) currently available. These threads handle I/O operations and asynchronous callbacks.
max_worker_threads: Annotated<u64>Maximum number of worker threads the thread pool can have. This represents the upper limit for worker thread allocation.
max_completion_port_threads: Annotated<u64>Maximum number of completion port threads the thread pool can maintain. This sets the ceiling for I/O completion port thread allocation.
min_worker_threads: Annotated<u64>Minimum number of worker threads maintained by the thread pool. The thread pool will always keep at least this many worker threads active.
min_completion_port_threads: Annotated<u64>Minimum number of completion port threads maintained by the thread pool. This ensures a baseline number of threads are available for I/O operations.
other: Object<Value>Trait Implementations§
Source§impl Clone for ThreadPoolInfoContext
impl Clone for ThreadPoolInfoContext
Source§impl Debug for ThreadPoolInfoContext
impl Debug for ThreadPoolInfoContext
Source§impl Default for ThreadPoolInfoContext
impl Default for ThreadPoolInfoContext
Source§impl DefaultContext for ThreadPoolInfoContext
impl DefaultContext for ThreadPoolInfoContext
Source§fn default_key() -> &'static str
fn default_key() -> &'static str
Contexts.