Class VertxTimerAwareScheduledExecutorService

java.lang.Object
io.quarkus.runtime.util.ForwardingExecutorService
io.quarkus.runtime.util.ForwardingScheduledExecutorService
io.quarkus.vertx.core.runtime.VertxTimerAwareScheduledExecutorService
All Implemented Interfaces:
Executor, ExecutorService, ScheduledExecutorService

public final class VertxTimerAwareScheduledExecutorService extends io.quarkus.runtime.util.ForwardingScheduledExecutorService
A wrapper for ScheduledExecutorService that dispatches some of the operations using Vert.x timers when called from Vert.x event-loops, else it just dispatches to a delegate ScheduledExecutorService. This class is used to keep some Mutiny scheduled operations on a Vert.x event-loop thread rather than hop to a worker thread: delaying items, retries on failures, streams of periodic ticks, etc.