Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / taskqueue / IQueueFactory.java
bloba3a72f1769e75e06e797d11059186774c238e5b2
1 // Copyright 2012 Google Inc. All rights reserved.
2 package com.google.appengine.api.taskqueue;
4 /**
5 * Creates {@link Queue} objects.
6 * {@link QueueFactory} is thread safe.
8 */
9 public interface IQueueFactory {
11 /**
12 * Returns the {@link Queue} by name.
13 * <p>The returned {@link Queue} object may not necessarily refer
14 * to an existing queue. Queues must be configured before
15 * they may be used. Attempting to use a non-existing queue name
16 * may result in errors at the point of use of the {@link Queue} object
17 * and not when calling {@link #getQueue(String)}.
19 Queue getQueue(String queueName);