java.lang.Object
org.openpdf.text.utils.PdfBatch
Utility class for executing collections of tasks concurrently using Java 21 virtual threads.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
run
public static <T> PdfBatch.BatchResult<T> run(Collection<? extends Callable<T>> tasks, Consumer<T> onSuccess, Consumer<Throwable> onFailure)
-