Interface RuleEngineSpliteratorStrategy

    • Method Detail

      • getNumberOfThreads

        int getNumberOfThreads()
        get the number of threads to be allocated for spliterator
        Returns:
        number of threads to allocate
      • getPartitionSize

        static int getPartitionSize​(int totalSize,
                                    int numberOfPartitions)
        calculate the partition size based on total size and the number of partitions to allocate
        Parameters:
        totalSize - total size
        numberOfPartitions - number of partitions to allocate
        Returns:
        size of a single partition