Interface IExecutorFactory

All Known Implementing Classes:
DefaultExecutorFactory

public interface IExecutorFactory
Common interface for classes that can create instances of thread pool executors
Author:
Steven Arzt
  • Method Details

    • createExecutor

      InterruptableExecutor createExecutor(int numThreads, boolean allowSetSemantics, InfoflowConfiguration config)
      Creates a new executor object for spawning worker threads
      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