ch.qos.logback.core.util
Class ExecutorServiceUtil

java.lang.Object
  extended by ch.qos.logback.core.util.ExecutorServiceUtil

public class ExecutorServiceUtil
extends Object

Static utility methods for manipulating an ExecutorService.

Author:
Carl Harris

Constructor Summary
ExecutorServiceUtil()
           
 
Method Summary
static ExecutorService newExecutorService()
          Creates an executor service suitable for use by logback components.
static void shutdown(ExecutorService executorService)
          Shuts down an executor service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005-2014 QOS.ch. All Rights Reserved.