Class ExecutorServiceUtil


  • public class ExecutorServiceUtil
    extends Object
    Static utility methods for manipulating an ExecutorService.
    • Constructor Detail

      • ExecutorServiceUtil

        public ExecutorServiceUtil()
    • Method Detail

      • newExecutorService

        public static ExecutorService newExecutorService()
        Creates an executor service suitable for use by logback components.
        Returns:
        executor service
      • shutdown

        public static void shutdown​(ExecutorService executorService)
        Shuts down an executor service.

        Parameters:
        executorService - the executor service to shut down