@FunctionalInterface public interface ParallelStrategy
Modifier and Type | Field and Description |
---|---|
static ParallelStrategy |
COMPUTE_INTENSITY_EXTREME
A Parallel Strategy that favors small sets with extremely high computational
overhead.
|
static ParallelStrategy |
COMPUTE_INTENSITY_HIGH
A Parallel Strategy that favors relatively small to medium sets with high
computational overhead.
|
static ParallelStrategy |
COMPUTE_INTENSITY_MEDIUM
A Parallel Strategy that favors relatively small to medium sets with
medium computational overhead.
|
static ParallelStrategy |
DEFAULT
A Parallel Strategy that is Java's default
Iterator to
Spliterator converter. |
Modifier and Type | Method and Description |
---|---|
static <T> ParallelStrategy |
of(int[] batchSizes) |
<T> Spliterator<T> |
spliteratorUnknownSize(Iterator<? extends T> iterator,
int characteristics) |
static final ParallelStrategy DEFAULT
Iterator
to
Spliterator
converter. It favors relatively large sets (in
the ten thousands or more) with low computational overhead.static final ParallelStrategy COMPUTE_INTENSITY_MEDIUM
static final ParallelStrategy COMPUTE_INTENSITY_HIGH
static final ParallelStrategy COMPUTE_INTENSITY_EXTREME
<T> Spliterator<T> spliteratorUnknownSize(Iterator<? extends T> iterator, int characteristics)
static <T> ParallelStrategy of(int[] batchSizes)
Copyright © 2016 Speedment, Inc.. All rights reserved.