public class ExecutorLifecycle extends Object
Modifier and Type | Method and Description |
---|---|
ExecutorService |
supplyExecutorService() |
static ExecutorLifecycle |
withNormalCleanupBehavior(Supplier<ExecutorService> executorServiceSupplier) |
static ExecutorLifecycle |
withoutCleanup(ExecutorService executorService) |
static ExecutorLifecycle |
withoutCleanup(Supplier<ExecutorService> executorServiceSupplier) |
public static ExecutorLifecycle withoutCleanup(ExecutorService executorService)
public static ExecutorLifecycle withoutCleanup(Supplier<ExecutorService> executorServiceSupplier)
public static ExecutorLifecycle withNormalCleanupBehavior(Supplier<ExecutorService> executorServiceSupplier)
public ExecutorService supplyExecutorService()
Copyright © 2010–2021. All rights reserved.