Package ch.qos.logback.core.util
Class ExecutorServiceUtil
java.lang.Object
ch.qos.logback.core.util.ExecutorServiceUtil
Static utility methods for manipulating an
ExecutorService
.- Author:
- Carl Harris, Mikhail Mazursky
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorService
Creates an executor service suitable for use by logback components.static ScheduledExecutorService
static void
shutdown
(ExecutorService executorService) Shuts down an executor service.
-
Constructor Details
-
ExecutorServiceUtil
public ExecutorServiceUtil()
-
-
Method Details
-
newScheduledExecutorService
-
newExecutorService
Creates an executor service suitable for use by logback components.- Returns:
- executor service
-
shutdown
Shuts down an executor service.- Parameters:
executorService
- the executor service to shut down
-