public class JobConfiguration extends Object
| Constructor and Description |
|---|
JobConfiguration(LineageGraph lineageGraph,
String jobName,
Class<? extends org.quartz.Job> jobClass,
int jobInterval)
Instantiates a new Job configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
schedule()
Start a scheduler and a job using it.
|
void |
stop()
Stops future job execution by shutting down the scheduler
|
public JobConfiguration(LineageGraph lineageGraph, String jobName, Class<? extends org.quartz.Job> jobClass, int jobInterval)
lineageGraph - the lineage graphjobName - the job namejobClass - the job classjobInterval - the job intervalCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.