Package org.jcsp.net.remote
Supports the remote spawning of processes at other nodes. A local proxy process strategy is used which
attempts to create similar effects to running the process locally. For example the run
method
of the proxy will not complete until the run
of the remote process completes so that a
conventional Parallel
can be used to synchronize on process termination. Also, any exceptions
raised by the remote process will be similarly raised at the local machine.
Refer to the description of RemoteProcess
for examples of use. Refer to
SpawnerService
for details of starting the server process to support the spawning of
additional JVMs at a node.
This package is currently in a beta state and the API may be subject to changes.
-
Class Summary Class Description ChildProcess For use by the infrastructure only.RemoteProcess A proxy process that runs locally while another process executes on a different node.SpawnerService Services requests fromRemoteProcess
proxies to start up child JVMs running the actual processes. -
Exception Summary Exception Description RemoteProcessFailedException Thrown if a remote process terminates abruptly with a non-zero error code.RemoteSpawnException Wraps up a non-RuntimeException into a runtime exception that can be ignored or caught and rethrown if required.