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
|
public TaskThreadPoolContext(ScheduledThreadPoolExecutor executorService)
public boolean interrupted()
TaskContextinterrupted in interface TaskContextpublic void interrupt()
TaskContextinterrupt in interface TaskContextCopyright © 2015–2016. All rights reserved.