public interface BatchJobInstanceAdapter
extends com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance
BatchJobInstance related functionality that we don't want exposed as part of the API| Modifier and Type | Method and Description |
|---|---|
BatchEvent |
getBatchEvent()
Returns the
BatchEvent that was used to start this instance |
String |
getQueueName()
Returns the name of the queue that this instance uses to pipeline its records
|
void |
setQueueName(String queueName)
sets the name of the queue that this instance uses to pipeline its records
|
void |
setRecordCount(long recordCount)
Sets the number of records this instance is bound to process
|
void |
setStatus(com.mulesoft.mule.runtime.module.batch.api.BatchJobInstanceStatus status)
Sets the status for this instance
|
void setStatus(com.mulesoft.mule.runtime.module.batch.api.BatchJobInstanceStatus status)
status - a BatchJobInstanceStatusvoid setRecordCount(long recordCount)
recordCount - a positive integer greater than zeroBatchEvent getBatchEvent()
BatchEvent that was used to start this instanceBatchEventString getQueueName()
StringCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.