public class BackgroundProcessing
extends java.lang.Object
implements com.serotonin.util.ILifecycle
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JOB_GROUP |
static java.lang.String |
JOB_NAME |
(package private) org.apache.commons.logging.Log |
log |
private java.util.concurrent.ExecutorService |
lowPriorityService |
private java.util.concurrent.ThreadPoolExecutor |
mediumPriorityService |
| Constructor and Description |
|---|
BackgroundProcessing() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWorkItem(WorkItem item) |
int |
getMediumPriorityServiceQueueSize() |
void |
initialize() |
void |
joinTermination() |
void |
terminate() |
public static final java.lang.String JOB_NAME
public static final java.lang.String JOB_GROUP
final org.apache.commons.logging.Log log
private java.util.concurrent.ThreadPoolExecutor mediumPriorityService
private java.util.concurrent.ExecutorService lowPriorityService
public void addWorkItem(WorkItem item)
public int getMediumPriorityServiceQueueSize()
public void initialize()
initialize in interface com.serotonin.util.ILifecyclepublic void terminate()
terminate in interface com.serotonin.util.ILifecyclepublic void joinTermination()
joinTermination in interface com.serotonin.util.ILifecycle