Class DefaultExecutorFactory

java.lang.Object
soot.jimple.infoflow.threading.DefaultExecutorFactory
All Implemented Interfaces:
IExecutorFactory

public class DefaultExecutorFactory extends Object implements IExecutorFactory
Default implementation of a factory for thread pool executors
Author:
Steven Arzt
  • Constructor Details

    • DefaultExecutorFactory

      public DefaultExecutorFactory()
  • Method Details

    • createExecutor

      public InterruptableExecutor createExecutor(int numThreads, boolean allowSetSemantics, InfoflowConfiguration config)
      Description copied from interface: IExecutorFactory
      Creates a new executor object for spawning worker threads
      Specified by:
      createExecutor in interface IExecutorFactory
      Parameters:
      numThreads - The number of threads to use
      allowSetSemantics - True if the executor is allowed to skip new tasks if the same task has already been scheduled before. False if the executor must schedule all tasks it is given.
      config - The configuration of the data flow solver
      Returns:
      The generated executor