@FunctionalInterface public interface ParallelStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
ParallelStrategy.Hidden |
Modifier and Type | Method and Description |
---|---|
static ParallelStrategy |
computeIntensityDefault()
A Parallel Strategy that is Java's default
Iterator to
Spliterator converter. |
static ParallelStrategy |
computeIntensityExtreme()
A Parallel Strategy that favors small sets with extremely high
computational overhead.
|
static ParallelStrategy |
computeIntensityHigh()
A Parallel Strategy that favors relatively small to medium sets with high
computational overhead.
|
static ParallelStrategy |
computeIntensityMedium()
A Parallel Strategy that favors relatively small to medium sets with
medium computational overhead.
|
static ParallelStrategy |
of(int... batchSizes) |
<T> Spliterator<T> |
spliteratorUnknownSize(Iterator<? extends T> iterator,
int characteristics) |
static ParallelStrategy computeIntensityDefault()
Iterator
to
Spliterator
converter. It favors relatively large sets (in
the ten thousands or more) with low computational overhead.static ParallelStrategy computeIntensityMedium()
static ParallelStrategy computeIntensityHigh()
static ParallelStrategy computeIntensityExtreme()
<T> Spliterator<T> spliteratorUnknownSize(Iterator<? extends T> iterator, int characteristics)
static ParallelStrategy of(int... batchSizes)
Copyright © 2017 Speedment, Inc.. All rights reserved.