D - The type of Rule-element pair.public interface IErlModuleAtomBatches<D extends RuleAtom<?>> extends IErlModule
| Modifier and Type | Method and Description |
|---|---|
List<? extends D> |
getAllJobs()
The atomic units of work.
|
default List<JobBatch> |
getBatchJobs(int batchSize)
Splits the job list (as returned from
getAllJobs() into the specified number of batches. |
getContext, getDeclaredPost, getDeclaredPre, getPost, getPreconfigure, execute, getCompilationContext, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModuleList<? extends D> getAllJobs() throws EolRuntimeException
EolRuntimeException - If any problems are encountered when retrieving the jobs.default List<JobBatch> getBatchJobs(int batchSize) throws EolRuntimeException
getAllJobs() into the specified number of batches.batchSize - This is interpreted as the size of batches, i.e. the distance between start and end indices.EolRuntimeExceptionJobBatch#getBatches(int, int)}.Copyright © 2020. All rights reserved.