Delen via


RouterQueueStatistics Class

Definition

Statistics for the queue.

public class RouterQueueStatistics
public class RouterQueueStatistics : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.RouterQueueStatistics>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.RouterQueueStatistics>
type RouterQueueStatistics = class
type RouterQueueStatistics = class
    interface IJsonModel<RouterQueueStatistics>
    interface IPersistableModel<RouterQueueStatistics>
Public Class RouterQueueStatistics
Public Class RouterQueueStatistics
Implements IJsonModel(Of RouterQueueStatistics), IPersistableModel(Of RouterQueueStatistics)
Inheritance
RouterQueueStatistics
Implements

Properties

EstimatedWaitTimes

The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority

Length

Length of the queue: total number of enqueued jobs.

LongestJobWaitTimeMinutes

The wait time of the job that has been enqueued in this queue for the longest.

QueueId

Id of the queue these details are about.

Explicit Interface Implementations

IJsonModel<RouterQueueStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RouterQueueStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterQueueStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterQueueStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RouterQueueStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to