QueueStatistics (Google App Engine API for Java)


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 Detail

      • getQueueName

        public java.lang.String getQueueName()
        The name of the Queue.
      • getNumTasks

        public int getNumTasks()
        The approximate number of non-completed tasks in the queue.
      • getOldestEtaUsec

        public java.lang.Long getOldestEtaUsec()
        Returns a recent estimate of the eta of the oldest non-completed task in the queue.
        The eta of the oldest non-completed task for the queue, or null if there were no non-completed tasks found in the queue.
      • getExecutedLastMinute

        public long getExecutedLastMinute()
        The number of tasks executed in the last minute.
      • getRequestsInFlight

        public int getRequestsInFlight()
        The number of requests that the queue has sent but not yet received a reply for.
        The number of tasks currently in flight.
      • getEnforcedRate

        public double getEnforcedRate()
        Returns the maximum number of tasks per second being run by this queue.
        The enforced rate in tasks per second.
Оцените, насколько информация на этой странице была вам полезна:

Оставить отзыв о...

Текущей странице
App Engine standard environment for Java 8