public class TaskKiller extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskKiller.Status |
Constructor and Description |
---|
TaskKiller(Thread threadToKill,
CleanupTimeoutGetter cleanupTimeoutGetter) |
Modifier and Type | Method and Description |
---|---|
TaskKiller.Status |
getStatus() |
void |
kill(TaskKiller.Status status) |
boolean |
wasKilled() |
public TaskKiller(Thread threadToKill, CleanupTimeoutGetter cleanupTimeoutGetter)
public boolean wasKilled()
public void kill(TaskKiller.Status status)
public TaskKiller.Status getStatus()