Interface ExecutorProvider


  • public interface ExecutorProvider
    Allows for creating a custom Executor for Executors.getDefault().
    This is done by creating a class that implements this interface and then set the fully qualified class name in the system property javascalautils.concurrent.executorprovider.
    The implementing class must:
    • be declared public
    • have a public (default) non-argument constructor
    This property must be set before invoking any method in Executors as the default pool is then created.
    Since:
    1.4