public interface ParallelIterableMap<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
forEach(long parallelismThreshold,
BiConsumer<? super K,? super V> action)
Performs the given action for each (key, value) but traversing entries in parallel.
|
void forEach(long parallelismThreshold,
BiConsumer<? super K,? super V> action)
throws InterruptedException
parallelismThreshold - the (estimated) number of elements
needed for this operation to be executed in parallelaction - the actionInterruptedExceptionCopyright © 2017 JBoss, a division of Red Hat. All rights reserved.