Class BasicProcessExecutor
java.lang.Object
de.hybris.platform.mediaconversion.os.process.AbstractProcessExecutor
de.hybris.platform.mediaconversion.os.process.rmi.BasicProcessExecutor
- All Implemented Interfaces:
ProcessExecutor
- Direct Known Subclasses:
EmbeddedProcessExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ProcessContext context) Synchronously executes the givenProcessContext.voidquit()Terminates thisProcessExecutorand frees all associated resources.Methods inherited from class de.hybris.platform.mediaconversion.os.process.AbstractProcessExecutor
execute
-
Constructor Details
-
BasicProcessExecutor
public BasicProcessExecutor()
-
-
Method Details
-
execute
Synchronously executes the givenProcessContext.- Parameters:
context- the context to execute- Returns:
- the exit code of the underlying os process.
- Throws:
IOException- on eny error while executing the process.
-
quit
Description copied from interface:ProcessExecutorTerminates thisProcessExecutorand frees all associated resources. Note the lifecycle of aProcessExecutorhas tenant scope, i.e. there is no need to callProcessExecutor.quit()except when shutting down the server (what will be done automatically).- Throws:
IOException- on any error
-