JobRouterModelFactory.RouterQueueStatistics Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RouterQueueStatistics.
public static Azure.Communication.JobRouter.RouterQueueStatistics RouterQueueStatistics (string queueId = default, int length = 0, System.Collections.Generic.IDictionary<int,TimeSpan> estimatedWaitTimes = default, double? longestJobWaitTimeMinutes = default);
static member RouterQueueStatistics : string * int * System.Collections.Generic.IDictionary<int, TimeSpan> * Nullable<double> -> Azure.Communication.JobRouter.RouterQueueStatistics
Public Shared Function RouterQueueStatistics (Optional queueId As String = Nothing, Optional length As Integer = 0, Optional estimatedWaitTimes As IDictionary(Of Integer, TimeSpan) = Nothing, Optional longestJobWaitTimeMinutes As Nullable(Of Double) = Nothing) As RouterQueueStatistics
Parameters
- queueId
- String
Id of the queue these details are about.
- length
- Int32
Length of the queue: total number of enqueued jobs.
- estimatedWaitTimes
- IDictionary<Int32,TimeSpan>
The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority.
The wait time of the job that has been enqueued in this queue for the longest.
Returns
A new RouterQueueStatistics instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET