|
||||||||||
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(java.lang.String processId)
Retrieves the queue item of represented by the processId. |
void |
reprocess(java.lang.String processId)
Triggers the process to be retried. |
java.lang.String |
schedule(IQueueTask task,
java.util.Date schedule)
Schedules an IQueueTask to be executed at a specific time. |
java.lang.String |
schedule(IQueueTask task,
java.util.Date schedule,
java.lang.String group,
java.lang.String title)
Schedules an IQueueTask to be executed at a specific time, in the specified group,
with the informed title. |
java.lang.String |
send(IQueueTask task)
Sends a IQueueTask to be executed. |
java.lang.String |
send(IQueueTask task,
java.lang.String groupId)
Sends a IQueueTask to be executed in within the order of a group. |
java.lang.String |
send(IQueueTask task,
java.lang.String groupId,
java.lang.String title)
Sends an IQueueTask to the queue for a specific group with the given title. |
java.lang.String |
send(java.lang.String title,
IQueueTask task)
Sends an IQueueTask to the queue with the given title. |
Method Detail |
---|
java.lang.String send(IQueueTask task) throws PortalException
IQueueTask
to be executed.
task
- to be executed.
PortalException
java.lang.String send(IQueueTask task, java.lang.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
java.lang.String schedule(IQueueTask task, java.util.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
java.lang.String schedule(IQueueTask task, java.util.Date schedule, java.lang.String group, java.lang.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(java.lang.String processId) throws PortalException
processId
-
PortalException
java.lang.String send(java.lang.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
java.lang.String send(IQueueTask task, java.lang.String groupId, java.lang.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(java.lang.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 |