public class JobMonitorImpl extends java.lang.Object implements JobMonitor
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JobMonitorImpl.Batches  | 
| Constructor and Description | 
|---|
JobMonitorImpl(com.marklogic.client.DatabaseClient client)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<java.lang.String> | 
getBatchResponse(java.lang.String jobId,
                java.lang.String batchId)
Returns the response (uris or error msgs) of the batch 
 | 
java.lang.String | 
getBatchStatus(java.lang.String jobId,
              java.lang.String batchId)
Sets the flow to be used with the flow runner 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getCurrentJobs()
Gets the current running jobs 
 | 
java.lang.String | 
getJobStatus(java.lang.String jobId)
Sets the flow to be used with the flow runner 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getStepBatchStatus(java.lang.String jobId,
                  java.lang.String step)
Sets the flow to be used with the flow runner 
 | 
public java.util.Map<java.lang.String,java.lang.String> getCurrentJobs()
JobMonitorgetCurrentJobs in interface JobMonitorpublic java.lang.String getJobStatus(java.lang.String jobId)
JobMonitorgetJobStatus in interface JobMonitorjobId - the flow object to be usedpublic java.util.Map<java.lang.String,java.lang.String> getStepBatchStatus(java.lang.String jobId,
                                                                           java.lang.String step)
JobMonitorgetStepBatchStatus in interface JobMonitorjobId - the id of the batchstep - the step of the jobpublic java.lang.String getBatchStatus(java.lang.String jobId,
                                       java.lang.String batchId)
JobMonitorgetBatchStatus in interface JobMonitorjobId - the id of the jobbatchId - the id of the batchpublic java.util.List<java.lang.String> getBatchResponse(java.lang.String jobId,
                                                         java.lang.String batchId)
JobMonitorgetBatchResponse in interface JobMonitorjobId - the id of the jobbatchId - the id of the batch