Interface IErlModuleAtomBatches<D extends RuleAtom<?>>

    • Method Detail

      • getAllJobs

        java.util.List<? extends D> getAllJobs()
                                        throws EolRuntimeException
        The atomic units of work.
        Returns:
        A deterministically ordered List of executable rule-element pairs.
        Throws:
        EolRuntimeException - If any problems are encountered when retrieving the jobs.
      • getBatchJobs

        default java.util.List<JobBatch> getBatchJobs​(int batchSize)
                                               throws EolRuntimeException
        Splits the job list (as returned from getAllJobs() into the specified number of batches.
        Parameters:
        batchSize - This is interpreted as the size of batches, i.e. the distance between start and end indices.
        Returns:
        The list of start and end indices in order.
        Throws:
        EolRuntimeException