Class QueueFactory

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

public final class QueueFactory extends Object
Creates Queue objects. QueueFactory is thread safe.
  • Method Details

    • getDefaultQueue

      public static Queue getDefaultQueue()
      Returns the default Queue.
    • getQueue

      public static Queue getQueue(String queueName)
      Returns the Queue by name.

      The returned Queue object may not necessarily refer to an existing queue. Queues must be configured before they may be used. Attempting to use a non-existing queue name may result in errors at the point of use of the Queue object and not when calling getQueue(String).