public class ErrataCacheWorker extends java.lang.Object implements QueueWorker
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BY_CHANNEL |
static java.lang.String |
FOR_SERVER |
Constructor and Description |
---|
ErrataCacheWorker(Task taskIn,
org.apache.log4j.Logger parentLogger)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
setParentQueue(TaskQueue queue)
Set the parent so we can tell it when we're done
|
public static final java.lang.String BY_CHANNEL
public static final java.lang.String FOR_SERVER
public ErrataCacheWorker(Task taskIn, org.apache.log4j.Logger parentLogger)
taskIn
- the task to work onparentLogger
- logger to usepublic void run()
run
in interface java.lang.Runnable
public void setParentQueue(TaskQueue queue)
setParentQueue
in interface QueueWorker
queue
- the parent queue