Stay organized with collections
Save and categorize content based on your preferences.
publicfinalclassTaskHandleimplementsSerializable
Created from Queue#add(TaskOptions). Contains the task name (generated if otherwise
unspecified), task ETA (computed if not specified) and queue name. The queue name and task name
uniquely identify the task for an application.
[[["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-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eTaskHandle\u003c/code\u003e is a serializable class representing a task, created via \u003ccode\u003eQueue#add(TaskOptions)\u003c/code\u003e, and includes the task name, ETA, and queue name.\u003c/p\u003e\n"],["\u003cp\u003eThe queue name and task name in \u003ccode\u003eTaskHandle\u003c/code\u003e uniquely identify a task within an application.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTaskHandle\u003c/code\u003e contains methods to access various task properties like name, ETA, queue name, payload, retry count, and tag.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTaskHandle\u003c/code\u003e can decode its payload into a list of key-value pairs if it is formatted as a URL-encoded string, and will throw exceptions if it cannot be decoded.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTaskHandle\u003c/code\u003e has two constructors: one takes \u003ccode\u003eTaskOptions\u003c/code\u003e and \u003ccode\u003equeueName\u003c/code\u003e, and the other (deprecated) takes \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003equeueName\u003c/code\u003e, and \u003ccode\u003eetaMillis\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]