public class TaskThreadPoolContext extends Object implements TaskContext
| Constructor and Description |
|---|
TaskThreadPoolContext(ScheduledThreadPoolExecutor executorService) |
| Modifier and Type | Method and Description |
|---|---|
void |
interrupt()
Manual interrupt ...
|
boolean |
interrupted()
To be used to send interrupt signal to running task
|
void |
reset()
Set everything to the beginning (reset interrupt flag)
|
public TaskThreadPoolContext(ScheduledThreadPoolExecutor executorService)
public boolean interrupted()
TaskContextinterrupted in interface TaskContextpublic void interrupt()
TaskContextinterrupt in interface TaskContextpublic void reset()
TaskContextreset in interface TaskContextCopyright © 2015–2016. All rights reserved.