public class CreationTimeSequentialSchedulingStrategy extends Object implements BatchJobInstanceSchedulingStrategy
BatchJobInstanceSchedulingStrategy in which executable instances are sorted by
BatchJobInstance.getCreationTime() and the one with the lowest value is
returned| Modifier and Type | Field and Description |
|---|---|
static String |
ORDERED_SEQUENTIAL_STRING |
| Constructor and Description |
|---|
CreationTimeSequentialSchedulingStrategy() |
| 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 ORDERED_SEQUENTIAL_STRING
public CreationTimeSequentialSchedulingStrategy()
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.