Package com.netflix.genie.web.util
Class ExecutorFactory
java.lang.Object
com.netflix.genie.web.util.ExecutorFactory
A factory for
Executor instances.- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.exec.ExecutornewInstance(boolean detached) Create a newExecutorimplementation instance.
-
Constructor Details
-
ExecutorFactory
public ExecutorFactory()
-
-
Method Details
-
newInstance
public org.apache.commons.exec.Executor newInstance(boolean detached) Create a newExecutorimplementation instance.- Parameters:
detached- Whether the streams for processes run on this executor should be detached (ignored) or not- Returns:
- A
Executorinstance
-