class JobTask
extends java.util.TimerTask
Scheduler.timer
.
When a job is executed, it will delegate the job execution to the
job processor
, which will execute the job using the server's
context.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
jobName
The job name.
|
private static java.util.logging.Logger |
LOG
Logger.
|
Constructor and Description |
---|
JobTask(java.lang.String jobName)
Create a new job task to be registered with the
Scheduler.timer . |
Modifier and Type | Method and Description |
---|---|
void |
run()
Execute a the job with the given
name . |
private static final java.util.logging.Logger LOG
private final java.lang.String jobName
public JobTask(java.lang.String jobName)
Scheduler.timer
.public void run()
name
.run
in interface java.lang.Runnable
run
in class java.util.TimerTask