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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eIQueueFactory\u003c/code\u003e is an interface used to create \u003ccode\u003eQueue\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQueueFactory\u003c/code\u003e is thread-safe for concurrent use.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetQueue(String queueName)\u003c/code\u003e method returns a \u003ccode\u003eQueue\u003c/code\u003e object by its name.\u003c/p\u003e\n"],["\u003cp\u003eA returned \u003ccode\u003eQueue\u003c/code\u003e object may not correspond to a pre-existing queue, as queues must be configured separately.\u003c/p\u003e\n"],["\u003cp\u003eErrors related to a non-existing queue may occur when the \u003ccode\u003eQueue\u003c/code\u003e object is used, not during the \u003ccode\u003egetQueue\u003c/code\u003e method call.\u003c/p\u003e\n"]]],[],null,["# Interface IQueueFactory (2.0.0)\n\n public interface IQueueFactory\n\nCreates [Queue](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.taskqueue.Queue) objects. [QueueFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.taskqueue.QueueFactory) is thread safe.\n\nMethods\n-------\n\n### getQueue(String queueName)\n\n public abstract Queue getQueue(String queueName)\n\nReturns the [Queue](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.taskqueue.Queue) by name.\n\nThe returned [Queue](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.taskqueue.Queue) object may not necessarily refer to an existing queue. Queues\nmust be configured before they may be used. Attempting to use a non-existing queue name may\nresult in errors at the point of use of the [Queue](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.taskqueue.Queue) object and not when calling [#getQueue(String)](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.taskqueue.IQueueFactory#com_google_appengine_api_taskqueue_IQueueFactory_getQueue_java_lang_String_)."]]