solar.service.fork
Interface ForkService
- All Superinterfaces:
- EventHandler, RequestHandler, Service
- All Known Implementing Classes:
- SolarForkService
- public interface ForkService
- extends Service
It allows on-demand process creation, for instance, to create another
Planet. It is useful for automated distributed testing and load
balancing.
- Version:
- $Id: ForkService.java,v 1.4 2003/10/08 22:53:22 glchen Exp $
- Author:
- Guanling Chen
Method Summary |
void |
batchrun(java.lang.String taskfile)
|
void |
destroy(Id id,
Address dest)
Execute a previously created process at specified address. |
void |
start(Id id,
Address dest,
java.lang.String cmd)
Execute a command on specified address. |
start
public void start(Id id,
Address dest,
java.lang.String cmd)
throws ForkException
- Execute a command on specified address.
ForkException
destroy
public void destroy(Id id,
Address dest)
throws ForkException
- Execute a previously created process at specified address.
ForkException
batchrun
public void batchrun(java.lang.String taskfile)
throws ForkException
ForkException