public final class ServerThreadPoolSupplier extends Object implements Supplier<ExecutorService>
Context propagation.| Modifier and Type | Method and Description |
|---|---|
static ThreadPoolSupplier.Builder |
builder()
Create a new fluent API builder to build thread pool supplier.
|
static ThreadPoolSupplier |
create()
Create a new thread pool supplier with default configuration.
|
static ThreadPoolSupplier |
create(Config config)
Create supplier from configuration.
|
ExecutorService |
get() |
public ExecutorService get()
get in interface Supplier<ExecutorService>public static ThreadPoolSupplier.Builder builder()
public static ThreadPoolSupplier create()
public static ThreadPoolSupplier create(Config config)
config - config instanceCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.