Class QueueStateInfo
java.lang.Object
com.google.appengine.api.taskqueue.dev.QueueStateInfo
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWrapper for aTaskQueuePb.TaskQueueAddRequest.Headerto avoid exposing pbs to jsp.static final classDescription of task state information. -
Constructor Summary
ConstructorsConstructorDescriptionQueueStateInfo(com.google.apphosting.utils.config.QueueXml.Entry entry, List<QueueStateInfo.TaskStateInfo> taskInfo) -
Method Summary
-
Constructor Details
-
QueueStateInfo
public QueueStateInfo(com.google.apphosting.utils.config.QueueXml.Entry entry, List<QueueStateInfo.TaskStateInfo> taskInfo)
-
-
Method Details
-
getEntry
public com.google.apphosting.utils.config.QueueXml.Entry getEntry() -
getMode
-
getBucketSize
public int getBucketSize() -
getTaskInfo
-
getCountTasks
public int getCountTasks() -
getCountUnfinishedTasks
public int getCountUnfinishedTasks() -
getOldestTaskEta
-