|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface containing the methods supported by the queue service implementations.
Methods allow the creation, starting, stopping, deleting and customizing
queue execution.
Supported API: true
Extendable: false
Method Summary | |
ProcessingQueue |
createQueue(String queue_name)
Creates a new queue given its name. |
ProcessingQueue |
createQueue(String queue_name,
String host)
Creates a new queue given its name. |
ScheduleQueue |
createScheduleQueue(String queue_name)
Supported API: false |
ScheduleQueue |
createScheduleQueue(String queue_name,
String host)
Supported API: false |
void |
deleteEntries(ProcessingQueue queue)
Deletes all entries of a specified tree. |
void |
deleteEntries(ProcessingQueue queue,
String status_code)
Deletes all entries that have the status code specified. |
void |
deleteEntries(ScheduleQueue queue)
Supported API: false |
void |
deleteEntries(ScheduleQueue queue,
String status_code)
Supported API: false |
void |
deleteEntry(QueueInfo qi,
QueueEntryInfo qei)
Supported API: false |
ProcessingQueue |
deleteQueue(ProcessingQueue queue)
Deletes the queue given its name. |
ScheduleQueue |
deleteQueue(ScheduleQueue queue)
Supported API: false |
void |
enableQueue(ProcessingQueue queue,
boolean desired)
Supported API: false |
void |
enableQueue(ScheduleQueue queue,
boolean desired)
Supported API: false |
void |
executeEntry(QueueEntry entry)
Execute the entry passed as argument. |
long |
getInterval(ProcessingQueue queue)
Retrieves the waiting/sleeping interval of the queue passed as argument. |
ProcessingQueue |
getQueue(String queue_name)
Supported API: false |
WtQueue |
getQueue(String queue_name,
Class queue_type)
Supported API: false |
boolean |
isActive(ProcessingQueue queue)
Retuns 'true' if queue has been started (and not stoppped). |
boolean |
isActive(ScheduleQueue queue)
Supported API: false |
Enumeration |
queueEntries(ProcessingQueue queue)
Returns all queue entries as an enumeration. |
Enumeration |
queueEntries(ProcessingQueue queue,
String status_code)
Returns all existing queue entries that are in the state passed as argument. |
Enumeration |
queueEntries(ProcessingQueue queue,
Vector status_codes)
Supported API: false |
Enumeration |
queueEntries(ScheduleQueue queue)
Supported API: false |
Enumeration |
queueEntries(ScheduleQueue queue,
String status_code)
Supported API: false |
Enumeration |
queues()
Returns all existing queues (active or not). |
Enumeration |
queues(Class queue_type)
Supported API: false |
void |
resetQueueEntry(ProcessingQueue queue,
String entry_num)
Supported API: false |
void |
resetQueueEntry(ScheduleQueue queue)
Supported API: false |
void |
setExceptionRetries(WtQueue queue,
String retries)
Supported API: false |
void |
setFailureNotificationEmail(WtQueue queue,
String email)
Supported API: false |
void |
setInterval(ProcessingQueue queue,
long interval)
Establishes the wait/sleep interval for a specific queue. |
void |
setPollingInterval(WtQueue queue,
String interval)
Supported API: false |
void |
setQueueExecutionHost(ProcessingQueue queue,
String host)
Supported API: false |
void |
setQueueExecutionHost(ScheduleQueue queue,
String host)
Supported API: false |
void |
setSuspendDuration(WtQueue queue,
String duration)
Supported API: false |
void |
startAllQueues()
Starts all existing queues. |
void |
startProcessing(ProcessingQueue queue)
Starts immediate processing for a specified queue. |
void |
startProcessing(ScheduleQueue queue)
Supported API: false |
void |
startQueue(ProcessingQueue queue)
Starts a specific queue. |
void |
startQueue(ScheduleQueue queue)
Supported API: true |
void |
startQueueProcessing(String queueName)
Supported API: false |
void |
stopAllQueues()
Stops all existing queues. |
void |
stopQueue(ProcessingQueue queue)
Stops a specific queue. |
void |
stopQueue(ScheduleQueue queue)
Supported API: true |
void |
updateQueueEntry(WtQueue queue,
UpdateEntry entryInfo)
Supported API: false |
Method Detail |
public Enumeration queues() throws WTException
WTException
public Enumeration queues(Class queue_type) throws WTException
queue_type
-
WTException
public ProcessingQueue getQueue(String queue_name) throws WTException
queue_name
-
WTException
public WtQueue getQueue(String queue_name, Class queue_type) throws WTException
queue_name
- queue_type
-
WTException
public void startAllQueues() throws WTException
WTException
public void stopAllQueues() throws WTException
WTException
public void enableQueue(ProcessingQueue queue, boolean desired) throws WTException
queue
- desired
-
WTException
public void enableQueue(ScheduleQueue queue, boolean desired) throws WTException
queue
- desired
-
WTException
public ProcessingQueue createQueue(String queue_name) throws WTException
queue_name
-
WTException
public ScheduleQueue createScheduleQueue(String queue_name) throws WTException
queue_name
-
WTException
public ProcessingQueue deleteQueue(ProcessingQueue queue) throws WTException
queue
-
WTException
public ScheduleQueue deleteQueue(ScheduleQueue queue) throws WTException
queue
-
WTException
public boolean isActive(ProcessingQueue queue) throws WTException
queue
-
WTException
public boolean isActive(ScheduleQueue queue) throws WTException
queue
-
WTException
public long getInterval(ProcessingQueue queue) throws WTException
queue
-
WTException
public void startQueue(ProcessingQueue queue) throws WTException
queue
-
WTException
public void startQueue(ScheduleQueue queue) throws WTException
queue
-
WTException
public void stopQueue(ProcessingQueue queue) throws WTException
queue
-
WTException
public void stopQueue(ScheduleQueue queue) throws WTException
queue
-
WTException
public void setInterval(ProcessingQueue queue, long interval) throws WTException
queue
- interval
-
WTException
public void deleteEntries(ProcessingQueue queue) throws WTException
queue
-
WTException
public void deleteEntries(ScheduleQueue queue) throws WTException
queue
-
WTException
public void deleteEntries(ProcessingQueue queue, String status_code) throws WTException
queue
- status_code
-
WTException
public void deleteEntries(ScheduleQueue queue, String status_code) throws WTException
queue
- status_code
-
WTException
public Enumeration queueEntries(ProcessingQueue queue) throws WTException
queue
-
WTException
public Enumeration queueEntries(ScheduleQueue queue) throws WTException
queue
-
WTException
public Enumeration queueEntries(ProcessingQueue queue, String status_code) throws WTException
queue
- status_code
-
WTException
public Enumeration queueEntries(ProcessingQueue queue, Vector status_codes) throws WTException
queue
- status_codes
-
WTException
public Enumeration queueEntries(ScheduleQueue queue, String status_code) throws WTException
queue
- status_code
-
WTException
public void startProcessing(ProcessingQueue queue) throws WTException
queue
-
WTException
public void startProcessing(ScheduleQueue queue) throws WTException
queue
-
WTException
public void executeEntry(QueueEntry entry) throws WTException
entry
-
WTException
public void setQueueExecutionHost(ProcessingQueue queue, String host) throws WTException
queue
- host
-
WTException
public void setQueueExecutionHost(ScheduleQueue queue, String host) throws WTException
queue
- host
-
WTException
public ProcessingQueue createQueue(String queue_name, String host) throws WTException
queue_name
- host
-
WTException
public ScheduleQueue createScheduleQueue(String queue_name, String host) throws WTException
queue_name
- host
-
WTException
public void resetQueueEntry(ProcessingQueue queue, String entry_num) throws WTException
queue
- entry_num
-
WTException
public void resetQueueEntry(ScheduleQueue queue) throws WTException
queue
-
WTException
public void deleteEntry(QueueInfo qi, QueueEntryInfo qei) throws WTException
qi
- qei
-
WTException
public void updateQueueEntry(WtQueue queue, UpdateEntry entryInfo) throws WTException
queue
- entryInfo
-
WTException
public void setPollingInterval(WtQueue queue, String interval) throws WTException
queue
- interval
-
WTException
public void setSuspendDuration(WtQueue queue, String duration) throws WTException
queue
- duration
-
WTException
public void setExceptionRetries(WtQueue queue, String retries) throws WTException
queue
- retries
-
WTException
public void setFailureNotificationEmail(WtQueue queue, String email) throws WTException
queue
- email
-
WTException
public void startQueueProcessing(String queueName) throws WTException
queueName
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |