Class ExperimentExecutor

  • Direct Known Subclasses:
    ThreadPoolExecutor

    public abstract class ExperimentExecutor
    extends Object
    Base class for classes executing experiments. This class implements the Abstract Factory pattern, therefore ExperimentExecutor.getExecutor() has to be called to create executor instances. This call is delegated to a non-abstract implementation of ExperimentExecutor. Which ExperimentExecutor to use is determined by a system property " jasima.core.expExecution.ExperimentExecutor". As a default, a ThreadPoolExecutor is used (with a maximum number of threads equal to the number of available processors).
    Author:
    Torsten Hildebrandt
    See Also:
    ThreadPoolExecutor, ForkJoinPoolExecutor