You can configure the behaviour of the im4java-library with the following environment-variables and system-properties:
org.im4java.process.ProcessExecutor
will run
concurrently. If unset or if the
property has the value auto, the number returned by
Runtime.availableProcessors()
is used. Note
that the ProcessExecutor will at least use one process.
The package org.im4java.test
contains a growing
number of test-cases, demonstrating the various features of
the im4java-library. Here is a quick overview.
Executors.newSingleThreadExecutor()
to aquire a
ExecutorService
.
ProcessExecutor
to run at most two processes in
parallel.