@ThreadSafe public final class ExternalProcess extends Object
Constructor and Description |
---|
ExternalProcess(Map<PropertyKey,String> conf,
Class<?> clazz,
File outfile) |
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the process.
|
void |
stop()
Stops the process.
|
public ExternalProcess(Map<PropertyKey,String> conf, Class<?> clazz, File outfile)
conf
- alluxio configuration properties for the processclazz
- the class to runoutfile
- the file to write process output topublic void start() throws IOException
IOException
public void stop()
Copyright © 2023. All Rights Reserved.