|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.taskqueue.TaskHandle
public final class TaskHandle
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.
Constructor Summary | |
---|---|
TaskHandle(java.lang.String name,
java.lang.String queueName,
long etaMillis)
|
Method Summary | |
---|---|
long |
getEtaMillis()
Returns a time comparable to System.currentTimeMillis() when
this task is scheduled for execution. |
java.lang.String |
getName()
Returns the name of this task. |
java.lang.String |
getQueueName()
Returns the name of the queue that this task was submitted into. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskHandle(java.lang.String name, java.lang.String queueName, long etaMillis)
Method Detail |
---|
public java.lang.String getName()
Queue.add()
is not otherwise specified.
public java.lang.String getQueueName()
public long getEtaMillis()
System.currentTimeMillis()
when
this task is scheduled for execution.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |