public interface TaskExecutorService
1. retrieves next job from queue and locks it for other executors 2. executes job - takes care of failover (job taking to long and other exceptions) 3. unlocks job when execution finishes
| Modifier and Type | Method and Description |
|---|---|
TaskResult |
execute(TaskContext context)
Executes next job
|
boolean |
isRunning() |
void |
reset()
performs clean up after thread interruption (if any) to avoid locking
|
TaskResult execute(TaskContext context)
context - job contextboolean isRunning()
void reset()
Copyright © 2015–2016. All rights reserved.