Interface ExecutorServiceProvider

    • Method Detail

      • createThreadPoolExecutor

        ExecutorService createThreadPoolExecutor​(String threadGroupName,
                                                 int poolSize)
        Creates a new ExecutorService instance.
        Parameters:
        threadGroupName - the thread group name
        poolSize - the thread pool size
        Returns:
        a new ExecutorService
      • createThreadScheduledExecutor

        ScheduledExecutorService createThreadScheduledExecutor​(String threadGroupName)
        Creates a new ScheduledExecutorService instance.
        Parameters:
        threadGroupName - the thread group name
        Returns:
        a new ScheduledExecutorService