Package org.jeasy.batch.core.jmx
Interface JobMonitorMBean
-
- All Known Implementing Classes:
JobMonitor
public interface JobMonitorMBeanJMX MBean interface to expose monitoring attributes.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJMX_MBEAN_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetEndTime()Get batch execution end time.longgetErrorCount()Get error records count.longgetFilterCount()Get filtered records count.java.lang.StringgetJobName()Get the job name.java.lang.StringgetJobStatus()Get the jobJobStatus.longgetReadCount()Get read records count.java.lang.StringgetStartTime()Get batch execution start time.longgetWriteCount()Get written records count.
-
-
-
Field Detail
-
JMX_MBEAN_NAME
static final java.lang.String JMX_MBEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJobName
java.lang.String getJobName()
Get the job name.- Returns:
- the job name
-
getReadCount
long getReadCount()
Get read records count.- Returns:
- read records count
-
getWriteCount
long getWriteCount()
Get written records count.- Returns:
- written records count
-
getFilterCount
long getFilterCount()
Get filtered records count.- Returns:
- filtered records count
-
getErrorCount
long getErrorCount()
Get error records count.- Returns:
- error records count
-
getStartTime
java.lang.String getStartTime()
Get batch execution start time.- Returns:
- batch execution start time
-
getEndTime
java.lang.String getEndTime()
Get batch execution end time.- Returns:
- batch execution end time
-
getJobStatus
java.lang.String getJobStatus()
Get the jobJobStatus.- Returns:
- the job status
-
-