class ParallelUtil {

    public static void runWithConcurrency(
        final int concurrency,
        final Collection<? extends Runnable> tasks,
        final ExecutorService executor
    ) {
        runWithConcurrency(
            concurrency,
            tasks,
            DEFAULT_WAIT_TIME_NANOS,
            DEFAULT_MAX_NUMBER_OF_RETRIES,
            TerminationFlag.RUNNING_TRUE,
            executor
        );
    }

    private  ParallelUtil();

}