QueueStatsResponse

data class QueueStatsResponse(val concurrentDispatchesCount: String, val effectiveExecutionRate: Double, val executedLastMinuteCount: String, val oldestEstimatedArrivalTime: String, val tasksCount: String)

Statistics for a queue.

Constructors

Link copied to clipboard
fun QueueStatsResponse(concurrentDispatchesCount: String, effectiveExecutionRate: Double, executedLastMinuteCount: String, oldestEstimatedArrivalTime: String, tasksCount: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of requests that the queue has dispatched but has not received a reply for yet.

Link copied to clipboard

The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.

Link copied to clipboard

The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.

Link copied to clipboard

An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.

Link copied to clipboard

An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.