|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.InstanceResource<C>
com.twilio.sdk.resource.NextGenInstanceResource<TwilioTaskRouterClient>
com.twilio.sdk.resource.instance.taskrouter.TaskQueueStatistics
public class TaskQueueStatistics
Statistics about task distribution. See the TaskRouter documentation.
| Constructor Summary | |
|---|---|
TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid)
Instantiates a queue statistics. |
|
TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid,
Map<String,String> filters)
Instantiates a queue statistics. |
|
TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid,
Map<String,String> filters,
Map<String,Object> properties)
Instantiates a queue statistics. |
|
| Method Summary | |
|---|---|
Set<ActivityStatistic> |
getActivityStatistics()
Get the activity statistics. |
Integer |
getAssignedTasks()
Get the number of assigned tasks. |
Double |
getAverageTaskAcceptanceTime()
Get the average time of task acceptance in seconds. |
Calendar |
getEndTime()
Get the end time. |
Integer |
getLongestTaskWaitingAge()
Get the longest task waiting age in seconds. |
String |
getLongestTaskWaitingSid()
Get the sid of the longest waiting task. |
Integer |
getPendingTasks()
Get the number of pending tasks. |
String |
getQueueSid()
Gets the queue's sid. |
Integer |
getReservationsAccepted()
Get the number of accepted reservations. |
Integer |
getReservationsRejected()
Get the number of rejected reservations. |
Integer |
getReservationsTimedOut()
Get the number of timed out reservations. |
Integer |
getReservedTasks()
Get the number of reserved tasks. |
Calendar |
getStartTime()
Get the start time. |
Integer |
getTasksCanceled()
Get the number of tasks canceled. |
Integer |
getTasksEntered()
Get the number of tasks entered. |
Integer |
getTasksMoved()
Get the number of tasks moved. |
Integer |
getTotalAvailableWorkers()
Get the total number of available workers. |
Integer |
getTotalEligibleWorkers()
Get the total number of eligible workers. |
Integer |
getTotalTasks()
Get the total number of tasks. |
String |
getWorkspaceSid()
Gets the workspace sid. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sid
public TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid,
Map<String,String> filters)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sidfilters - the filters
public TaskQueueStatistics(TwilioTaskRouterClient client,
String workspaceSid,
String queueSid,
Map<String,String> filters,
Map<String,Object> properties)
client - the clientworkspaceSid - the workspace sidqueueSid - the queue sidfilters - the filtersproperties - the properties| Method Detail |
|---|
public Set<ActivityStatistic> getActivityStatistics()
public Integer getAssignedTasks()
public Double getAverageTaskAcceptanceTime()
public Calendar getEndTime()
public Integer getLongestTaskWaitingAge()
public String getLongestTaskWaitingSid()
public Integer getPendingTasks()
public String getQueueSid()
public Integer getReservationsAccepted()
public Integer getReservationsRejected()
public Integer getReservationsTimedOut()
public Integer getReservedTasks()
public Calendar getStartTime()
public Integer getTasksCanceled()
public Integer getTasksEntered()
public Integer getTasksMoved()
public Integer getTotalAvailableWorkers()
public Integer getTotalEligibleWorkers()
public Integer getTotalTasks()
public String getWorkspaceSid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||