Class WorkerPoolConfig
java.lang.Object
io.smallrye.reactive.messaging.providers.connectors.WorkerPoolConfig
-
Constructor Summary
ConstructorsConstructorDescriptionWorkerPoolConfig(int maxConcurrency, int shutdownTimeoutMs, int shutdownCheckIntervalMs) WorkerPoolConfig(int maxConcurrency, Duration shutdownTimeout, Duration shutdownCheckInterval) -
Method Summary
Modifier and TypeMethodDescriptionintThe frequency at which the status of the executor service should be checked during shutdown.The shutdown timeout.
-
Constructor Details
-
WorkerPoolConfig
public WorkerPoolConfig(int maxConcurrency, int shutdownTimeoutMs, int shutdownCheckIntervalMs) -
WorkerPoolConfig
-
-
Method Details
-
maxConcurrency
public int maxConcurrency() -
shutdownTimeout
The shutdown timeout. If all pending work has not been completed by this time then any pending tasks will be interrupted, and the shutdown process will continue -
shutdownCheckInterval
The frequency at which the status of the executor service should be checked during shutdown.
-