static class ProcessWorkItem.ProcessTimeout extends java.lang.Object implements WorkItem
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
command |
private boolean |
interrupted |
private java.lang.Process |
process |
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM| Constructor and Description |
|---|
ProcessTimeout(java.lang.Process process,
java.lang.String command) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
int |
getPriority() |
void |
interrupt() |
private final java.lang.Process process
private final java.lang.String command
private volatile boolean interrupted
ProcessTimeout(java.lang.Process process,
java.lang.String command)
public int getPriority()
getPriority in interface WorkItempublic void interrupt()