boolean arlo.QueueTask._runQueue |
( |
String |
taskName, |
|
|
Vector< NesterUser > |
restrictedUsers |
|
) |
| |
|
protected |
Get and execute a job from the queue.
Originally, we executed the whole queue for this task before returning. However, now we execute one at a time to jump back to the beginning of the queue and look for higher priority tasks.
- Parameters
-
taskName | The job name stored in tools_jobtypes. This limits the search to only one job type at a time. |
restrictedUsers | If null, search for jobs from any user; else, search from only specified users. NOTE: Not currently implemented. |
- Returns
- true if a job was found and executed, false otherwise.
static NesterJob arlo.QueueTask.getTaskFromQueue |
( |
String |
jobTypeString, |
|
|
Integer |
user_id |
|
) |
| |
|
staticprotected |
Try to get a job from the queue.
- Parameters
-
jobTypeString | The job name stored in tools_jobtypes. This limits the search to only one job type at a time. |
user_id | If null, search for jobs from any user; else, search from only specified user. |
- Returns
- null if no task found. If a job is found and secured, return aNesterJob object
boolean arlo.QueueTask.runQueue |
( |
Vector< NesterUser > |
restrictedUsers | ) |
|
The documentation for this class was generated from the following file: