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 にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET