Class ProcessWorker
java.lang.Object
org.ojalgo.concurrent.ProcessWorker
Child JVM entrypoint. Reads
ExternalProcessExecutor.ProcessRequests from stdin, invokes the specified method via
reflection, and writes a ExternalProcessExecutor.ProcessResponse to stdout for each request. Stdout is reserved for IPC.
Any normal System.out printing is redirected to stderr to avoid corrupting the binary protocol.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static <T, C extends Callable<T> & Serializable>
Tcall(C callable) static void(package private) static <R extends Runnable & Serializable>
voidrun(R runnable)
-
Constructor Details
-
ProcessWorker
public ProcessWorker()
-
-
Method Details
-
main
-
call
- Throws:
Exception
-
run
-