Modifier and Type | Class and Description |
---|---|
(package private) static class |
ProcessWorkItem.InputReader |
(package private) static class |
ProcessWorkItem.ProcessTimeout |
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
command |
(package private) static org.apache.commons.logging.Log |
LOG |
private static int |
TIMEOUT |
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM
Constructor and Description |
---|
ProcessWorkItem(java.lang.String command) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
static void |
executeProcessCommand(java.lang.String command) |
int |
getPriority() |
static void |
queueProcess(java.lang.String command) |
static final org.apache.commons.logging.Log LOG
private static final int TIMEOUT
final java.lang.String command
public static void queueProcess(java.lang.String command)
public static void executeProcessCommand(java.lang.String command) throws java.io.IOException
java.io.IOException
public int getPriority()
getPriority
in interface WorkItem