| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/dispatcher.R |
| 3 |
\name{.dispatcher_capacity} |
| 4 |
\alias{.dispatcher_capacity} |
| 5 |
\title{Dispatcher Capacity} |
| 6 |
\usage{ |
| 7 |
.dispatcher_capacity(disp) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{disp}{External pointer to dispatcher handle.} |
| 11 |
} |
| 12 |
\value{ |
| 13 |
Named numeric vector of length 3: \strong{used} (current) and \strong{peak} |
| 14 |
(high-watermark) usage, and \strong{capacity} (the \code{capacity} set on |
| 15 |
\code{\link[=.dispatcher_start]{.dispatcher_start()}}, \code{NA_real_} if unset/unbounded), all in MB. |
| 16 |
\code{NA_real_} in each slot if \code{disp} is invalid. |
| 17 |
} |
| 18 |
\description{ |
| 19 |
Read current and peak queued task payload usage at dispatcher, plus the |
| 20 |
configured capacity, in MB (metric, 1 MB = 1,000,000 bytes). |
| 21 |
} |
| 22 |
\keyword{internal} |