ExecutorService.
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ExecutorService | newAlternateThreadPoolExecutor()
An alternate implementation of {@linl #newThreadPoolExecutor} which returns a virtual thread per task executor when available. |
| public static ExecutorService | |
| public static ScheduledExecutorService | |
| public static ThreadPoolExecutor | Returns: ThreadPoolExecutorCreates an ThreadPoolExecutor suitable for use by logback components. |
| public static void | shutdown(ExecutorService
the executor service to shut down executorService)Shuts down an executor service. |
| THREAD_FACTORY_FOR_SCHEDULED_EXECUTION_SERVICE | back to summary |
|---|---|
| private static final ThreadFactory THREAD_FACTORY_FOR_SCHEDULED_EXECUTION_SERVICE | |
| ExecutorServiceUtil | back to summary |
|---|---|
| public ExecutorServiceUtil() | |
| newAlternateThreadPoolExecutor | back to summary |
|---|---|
| public static ExecutorService newAlternateThreadPoolExecutor() An alternate implementation of {@linl #newThreadPoolExecutor} which returns a virtual thread per task executor when available.
| |
| newExecutorService | back to summary |
|---|---|
| public static ExecutorService newExecutorService()
Deprecated replaced by | |
| newScheduledExecutorService | back to summary |
|---|---|
| public static ScheduledExecutorService newScheduledExecutorService() | |
| newThreadPoolExecutor | back to summary |
|---|---|
| public static ThreadPoolExecutor newThreadPoolExecutor() Creates an ThreadPoolExecutor suitable for use by logback components.
| |
| shutdown | back to summary |
|---|---|
| public static void shutdown(ExecutorService executorService) Shuts down an executor service.
| |