public class TraceExecutors extends Object
| 构造器和说明 |
|---|
TraceExecutors() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Executor |
wrapExecutor(Executor executor) |
static Executor |
wrapExecutor(Executor executor,
boolean autoThreadContextPropagation) |
static ExecutorService |
wrapExecutorService(ExecutorService executorService) |
static ExecutorService |
wrapExecutorService(ExecutorService executorService,
boolean autoThreadContextPropagation) |
static ScheduledExecutorService |
wrapScheduledExecutorService(ScheduledExecutorService executorService) |
static ScheduledExecutorService |
wrapScheduledExecutorService(ScheduledExecutorService executorService,
boolean autoThreadContextPropagation) |
public static Executor wrapExecutor(Executor executor, boolean autoThreadContextPropagation)
public static ExecutorService wrapExecutorService(ExecutorService executorService)
public static ExecutorService wrapExecutorService(ExecutorService executorService, boolean autoThreadContextPropagation)
public static ScheduledExecutorService wrapScheduledExecutorService(ScheduledExecutorService executorService)
public static ScheduledExecutorService wrapScheduledExecutorService(ScheduledExecutorService executorService, boolean autoThreadContextPropagation)
Copyright © 2021. All rights reserved.