public class ParallelRunner extends ArrayList<Runnable>
modCount
Constructor and Description |
---|
ParallelRunner() |
ParallelRunner(Collection<? extends Runnable> c) |
ParallelRunner(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
run(ExecutorService executorService,
long timeout) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public ParallelRunner()
public ParallelRunner(Collection<? extends Runnable> c)
public ParallelRunner(int initialCapacity)
public void run(ExecutorService executorService, long timeout) throws InterruptedException
InterruptedException
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html