◆ add()
static void org.turro.queue.Tasks.add |
( |
Task |
task | ) |
|
|
static |
◆ execute()
static void org.turro.queue.Tasks.execute |
( |
| ) |
|
|
static |
◆ isInterrupted()
static boolean org.turro.queue.Tasks.isInterrupted |
( |
| ) |
|
|
static |
◆ run()
void org.turro.queue.Tasks.run |
( |
| ) |
|
Definition at line 86 of file Elephant/elephant/src/main/java/org/turro/queue/Tasks.java.
87 Iterator<Task>
tasks = queue.iterator();
88 while(
tasks.hasNext()) {
89 Task task =
tasks.next();
90 if(task.getStatus().equals(TaskStatus.TASK_EXECUTING)) {
92 }
else if(task.getStatus().equals(TaskStatus.TASK_PENDING)) {
95 }
else if(task.getStatus().equals(TaskStatus.TASK_FAILED)) {
96 if(task.isReintent()) {
99 }
else if(isOld(task)) {
◆ tasks()
static TaskQueue org.turro.queue.Tasks.tasks |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: