Package org.jeasy.batch.core.job
Class JobParameters
- java.lang.Object
-
- org.jeasy.batch.core.job.JobParameters
-
- All Implemented Interfaces:
java.io.Serializable
public class JobParameters extends java.lang.Object implements java.io.Serializable
Parameters of a job.- Author:
- Mahmoud Ben Hassine ([email protected])
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_BATCH_SIZE
static long
DEFAULT_ERROR_THRESHOLD
static java.lang.String
DEFAULT_JOB_NAME
-
Constructor Summary
Constructors Constructor Description JobParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBatchSize()
long
getErrorThreshold()
boolean
isBatchScanningEnabled()
boolean
isJmxMonitoring()
void
setBatchScanningEnabled(boolean batchScanningEnabled)
void
setBatchSize(int batchSize)
void
setErrorThreshold(long errorThreshold)
void
setJmxMonitoring(boolean jmxMonitoring)
-
-
-
Field Detail
-
DEFAULT_JOB_NAME
public static final java.lang.String DEFAULT_JOB_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_THRESHOLD
public static final long DEFAULT_ERROR_THRESHOLD
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getErrorThreshold
public long getErrorThreshold()
-
setErrorThreshold
public void setErrorThreshold(long errorThreshold)
-
isJmxMonitoring
public boolean isJmxMonitoring()
-
setJmxMonitoring
public void setJmxMonitoring(boolean jmxMonitoring)
-
getBatchSize
public int getBatchSize()
-
setBatchSize
public void setBatchSize(int batchSize)
-
isBatchScanningEnabled
public boolean isBatchScanningEnabled()
-
setBatchScanningEnabled
public void setBatchScanningEnabled(boolean batchScanningEnabled)
-
-