public interface WorkItem
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY_HIGH
Uses a thread pool to immediately execute a process.
|
static int |
PRIORITY_LOW
Uses a single thread to execute processes sequentially.
|
static int |
PRIORITY_MEDIUM
Uses a single thread to execute processes sequentially.
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
int |
getPriority() |
static final int PRIORITY_HIGH
static final int PRIORITY_MEDIUM
static final int PRIORITY_LOW