|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmonks.batch.framework.management.JobMonitor
Implementation of job monitor mbean to instrument the job controller.
| Constructor Summary | |
JobMonitor(JobController jobController)
Creates a new instance of JobMonitorMBean and initializes with job controller. |
|
| Method Summary | |
long |
getExpectedRecordsCount()
Gets the total number of records this job might try to process. |
long |
getProcessedRecordsCount()
Gets the records processed by this job so far. |
java.lang.String[] |
getProcessorIDList()
Returns the array of IDs assigned to be processors running under this controller. |
ProcessorState |
getProcessorState(java.lang.String processorID)
Gets the state of the processor identified by the given processor ID. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JobMonitor(JobController jobController)
jobController - Job controller implements this interface.
java.lang.IllegalArgumentException - if input argument job controller is null.| Method Detail |
public long getExpectedRecordsCount()
JobMonitorMBean
getExpectedRecordsCount in interface JobMonitorMBeanJobMonitorMBean.getExpectedRecordsCount()public long getProcessedRecordsCount()
JobMonitorMBean
getProcessedRecordsCount in interface JobMonitorMBeanJobMonitorMBean.getProcessedRecordsCount()public java.lang.String[] getProcessorIDList()
JobMonitorMBean
getProcessorIDList in interface JobMonitorMBeanJobMonitorMBean.getProcessorIDList()public ProcessorState getProcessorState(java.lang.String processorID)
JobMonitorMBean
getProcessorState in interface JobMonitorMBeanJobMonitorMBean.getProcessorState(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||