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()
JobMonitor
getCurrentJobs
in interface JobMonitor
public java.lang.String getJobStatus(java.lang.String jobId)
JobMonitor
getJobStatus
in interface JobMonitor
jobId
- the flow object to be usedpublic java.util.Map<java.lang.String,java.lang.String> getStepBatchStatus(java.lang.String jobId, java.lang.String step)
JobMonitor
getStepBatchStatus
in interface JobMonitor
jobId
- the id of the batchstep
- the step of the jobpublic java.lang.String getBatchStatus(java.lang.String jobId, java.lang.String batchId)
JobMonitor
getBatchStatus
in interface JobMonitor
jobId
- 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)
JobMonitor
getBatchResponse
in interface JobMonitor
jobId
- the id of the jobbatchId
- the id of the batch