public class RoundRobinBatchJobSchedulingStrategy extends Object implements BatchJobInstanceSchedulingStrategy
BatchJobInstanceSchedulingStrategy which selects the job instances with a round robin strategy| Modifier and Type | Field and Description |
|---|---|
static String |
ROUND_ROBIN_STRING |
| Constructor and Description |
|---|
RoundRobinBatchJobSchedulingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance |
next(List<com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance> executableInstances) |
public static final String ROUND_ROBIN_STRING
public RoundRobinBatchJobSchedulingStrategy()
public com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance next(List<com.mulesoft.mule.runtime.module.batch.api.BatchJobInstance> executableInstances) throws org.mule.runtime.api.exception.MuleException
next in interface BatchJobInstanceSchedulingStrategyexecutableInstances - a List with the
BatchJobInstance that are elegible for
executionBatchJobInstance or null if no
elegible instance is foundorg.mule.runtime.api.exception.MuleExceptionCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.