Interface BatchTask<T>

    • Method Detail

      • apply

        boolean apply​(T item,
                      int index,
                      int batchSize)
               throws Exception
        Parameters:
        item - the item to be operate on
        index - the index of this item in its batch
        batchSize - the size of the batch
        Returns:
        true if the item required work to be done, false otherwise
        Throws:
        Exception