Class ExternalProcessExecutor

java.lang.Object
org.ojalgo.concurrent.ExternalProcessExecutor

public final class ExternalProcessExecutor extends Object
Execute submitted tasks/methods in external JVM processes with arbitrary Serializable arguments/return. Provides hard cancellation/timeout via process kill. Each executor thread owns a persistent child process kept alive across tasks until the owner thread is interrupted or the process is killed due to failure/timeout. This enables reusing JVM warm state for a sequence of tasks.