| Package | Description |
|---|---|
| org.ujorm.tools.thread |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiJob<P>
A multithreading task runner
|
class |
ParallelJob<P>
A multithreading task runner
Before using this class, make sure the target JRE contains a JDK-8224620 fix :
https://bugs.openjdk.java.net/browse/JDK-8224620 .
|
| Modifier and Type | Method and Description |
|---|---|
<P> Jobs<P> |
JobContext.forEach(Collection<P> params)
A factory method
|
<P> Jobs<P> |
JobContext.forEach(P... params)
A factory method for a multithreading instance
|
<P> Jobs<P> |
JobContext.forEach(Stream<P> params)
A factory method
|
Jobs<P> |
Jobs.setTimeout(Duration timeout)
Set a timeout where a default duration is the one hour
|
Copyright 2015, Pavel Ponec