Interface ExecutorServiceManager

    • Method Detail

      • getThreadNamePattern

        String getThreadNamePattern()
        Gets the thread name patter to use
        Returns:
        the pattern
      • newThread

        Thread newThread​(String name,
                         Runnable runnable)
        Creates a new daemon thread with the given name.
        Parameters:
        name - name which is appended to the thread name
        runnable - a runnable to be executed by new thread instance
        Returns:
        the created thread
      • newDefaultThreadPool

        ExecutorService newDefaultThreadPool​(String name)
        Creates a new thread pool using the default thread pool profile.
        Parameters:
        name - name which is appended to the thread name
        Returns:
        the created thread pool