| Constructor and Description |
|---|
AbstractBatch() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(Map<String,Object> parameters)
The main execution method.
|
String |
getBatchId()
Id a the batch (used to register the job in Quartz scheduler).
|
abstract String |
getJobScheduling()
Define the cron used to run the batch periodically
|
boolean |
isRunningOnMasterOnly()
Set true if this job should not run on all nodes of the cluster
|
public String getBatchId()
BatchgetBatchId in interface Batchpublic boolean isRunningOnMasterOnly()
BatchisRunningOnMasterOnly in interface Batchpublic abstract String getJobScheduling()
BatchgetJobScheduling in interface BatchCopyright © 2018. All rights reserved.