|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProcessQueueManager
Manager that allows a process to be executed asynchronously as well as see what is currently queued.
Method Summary | |
---|---|
IQueueStatistics |
getQueueStatistics()
Retrieves the current situation statistics of the queue. |
IQueueTaskProcess |
getTaskProcess(String processId)
Retrieves the queue item of represented by the processId. |
void |
reprocess(String processId)
Triggers the process to be retried. |
String |
schedule(IQueueTask task,
Date schedule)
Schedules an IQueueTask to be executed at a specific time. |
String |
schedule(IQueueTask task,
Date schedule,
String group,
String title)
Schedules an IQueueTask to be executed at a specific time, in the specified group,
with the informed title. |
String |
send(IQueueTask task)
Sends a IQueueTask to be executed. |
String |
send(IQueueTask task,
String groupId)
Sends a IQueueTask to be executed in within the order of a group. |
String |
send(IQueueTask task,
String groupId,
String title)
Sends an IQueueTask to the queue for a specific group with the given title. |
String |
send(String title,
IQueueTask task)
Sends an IQueueTask to the queue with the given title. |
Method Detail |
---|
String send(IQueueTask task) throws PortalException
IQueueTask
to be executed.
task
- to be executed.
PortalException
String send(IQueueTask task, String groupId) throws PortalException
IQueueTask
to be executed in within the order of a group.
task
- to be executed.groupId
- of the group the task should respect the order.
PortalException
String schedule(IQueueTask task, Date schedule) throws PortalException
IQueueTask
to be executed at a specific time.
task
- to be executed.schedule
- date/time the task is to be executed.
PortalException
String schedule(IQueueTask task, Date schedule, String group, String title) throws PortalException
IQueueTask
to be executed at a specific time, in the specified group,
with the informed title.
task
- to be executed.schedule
- date/time the task is to be executed.group
- group in which the task should be executed.title
- of the task to help identify it in the queue.
PortalException
IQueueTaskProcess getTaskProcess(String processId) throws PortalException
processId
-
PortalException
String send(String title, IQueueTask task) throws PortalException
IQueueTask
to the queue with the given title.
title
- to help identify the process in the queue.task
- to be executed.
PortalException
String send(IQueueTask task, String groupId, String title) throws PortalException
IQueueTask
to the queue for a specific group with the given title.
task
- to be executed.groupId
- group in which the task should be executed.title
- of the task to help identify it in the queue.
PortalException
IQueueStatistics getQueueStatistics() throws PortalException
PortalException
void reprocess(String processId) throws PortalException
processId
- id of the process to be reprocessed.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |