Class ExecutorFactory

java.lang.Object
com.netflix.genie.web.util.ExecutorFactory

public class ExecutorFactory extends Object
A factory for Executor instances.
Since:
4.0.0
  • Constructor Details

    • ExecutorFactory

      public ExecutorFactory()
  • Method Details

    • newInstance

      public org.apache.commons.exec.Executor newInstance(boolean detached)
      Create a new Executor implementation instance.
      Parameters:
      detached - Whether the streams for processes run on this executor should be detached (ignored) or not
      Returns:
      A Executor instance