Class ContextScheduledExecutorService

java.lang.Object
io.micrometer.context.ContextExecutorService<ScheduledExecutorService>
io.micrometer.context.ContextScheduledExecutorService
All Implemented Interfaces:
Executor, ExecutorService, ScheduledExecutorService

public final class ContextScheduledExecutorService extends ContextExecutorService<ScheduledExecutorService> implements ScheduledExecutorService
Wraps a ScheduledExecutorService in order to capture context via ContextSnapshot when a task is submitted, and propagate context to the task when it is executed.
Since:
1.0.0