com.google.appengine.api.taskqueue.dev
Class QueueStateInfo
java.lang.Object
com.google.appengine.api.taskqueue.dev.QueueStateInfo
public final class QueueStateInfo
- extends java.lang.Object
Dev Server task queue state descriptor.
Used by JSP/JSTL functions to display UI components. Access through JSTL
can be somewhat awkward so a number of accessors in this class are made
specifically for JSTL rendering. We've encountered some seemingly random
NPEs in the pb library code that generates property descriptors for pbs
that are used as java beans, and rather than trying to fight that battle
we have instead taken the approach of not exposing any pbs to the JSP.
Instead, we wrap pbs in standard java beans.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueStateInfo
public QueueStateInfo(Entry entry,
java.util.List<QueueStateInfo.TaskStateInfo> taskInfo)
getEntry
public Entry getEntry()
getBucketSize
public int getBucketSize()
getTaskInfo
public java.util.List<QueueStateInfo.TaskStateInfo> getTaskInfo()
getCountTasks
public int getCountTasks()
getCountUnfinishedTasks
public int getCountUnfinishedTasks()
getOldestTaskEta
public java.util.Date getOldestTaskEta()