Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.appengine.api.taskqueue
Class QueueStatistics

    java.lang.Object
      com.google.appengine.api.taskqueue.QueueStatistics

    public final class QueueStatistics

extends java.lang.Object

`QueueStatistics` allow observation of the rate that tasks on a given queue are being executed. Note that statistics provided are only approximate, and some statistics may be delayed or transiently unavailable.

Method Summary
`double` | `getEnforcedRate()` Returns the maximum number of tasks per second being run by this queue.
`long` | `getExecutedLastHour()`
`long` | `getExecutedLastMinute()`
`int` | `getNumTasks()`
`java.lang.String` | `getQueueName()`
`int` | `getRequestsInFlight()` The number of requests that the queue has sent but not yet received a reply for.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getQueueName

    public java.lang.String getQueueName()

  Returns:
    The name of the `Queue`.

### getNumTasks

    public int getNumTasks()

  Returns:
    The approximate number of non-completed tasks in the queue.

### getExecutedLastMinute

    public long getExecutedLastMinute()

  Returns:
    The number of tasks executed in the last minute.

### getExecutedLastHour

    public long getExecutedLastHour()

  Returns:
    The number of tasks executed in the last hour.

### getRequestsInFlight

    public int getRequestsInFlight()

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

  Returns:
    The number of tasks currently in flight.

### getEnforcedRate

    public double getEnforcedRate()

  Returns the maximum number of tasks per second being run by this queue.

  Returns:
    The enforced rate in tasks per second.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD