|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.queue.WtQueueEntry
wt.queue.QueueEntry
public class QueueEntry
The QueueEntry represents an individual processing request.
Each queue entry is associated to a named processing queue and can be
in one of the following states: READY, SUSPENDED, EXECUTING, COMPLETED
and FAILED.
Use the newQueueEntry static factory method(s), not the
QueueEntry constructor, to construct instances of this class.
Instances must be constructed using the static factory(s), in order
to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
wt.queue.StatusInfo |
execute()
Executes the entry's processing request. |
String |
getDisplayString()
Supported API: true |
WTPrincipal |
getPrincipal()
Returns the principal that owns the entry's execution. |
ProcessingQueue |
getQueue()
Returns the queue to which the entry belongs. |
protected void |
initialize(ProcessingQueue queue)
Supports initialization, following construction of an instance. |
static QueueEntry |
newQueueEntry(ProcessingQueue queue)
Constructs a new entry representing a processing queue request. |
void |
setStatus(String status_code)
Sets the status code of the entry to passed as argument. |
String |
toString()
Returns a string representation of the entry. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static QueueEntry newQueueEntry(ProcessingQueue queue)
throws WTException
queue -
WTException
protected void initialize(ProcessingQueue queue)
throws WTException
queue -
WTException
public wt.queue.StatusInfo execute()
throws WTException
execute in class WtQueueEntryWTExceptionpublic String toString()
toString in class WtQueueEntry
public WTPrincipal getPrincipal()
throws WTException
getPrincipal in class WtQueueEntryWTException
public void setStatus(String status_code)
throws WTException
setStatus in class WtQueueEntrystatus_code -
WTException
public ProcessingQueue getQueue()
throws WTException
WTExceptionpublic String getDisplayString()
getDisplayString in class WtQueueEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||