Package io.jmix.flowui.asynctask
Class UiAsyncTaskProperties.ExecutorServiceConfig
java.lang.Object
io.jmix.flowui.asynctask.UiAsyncTaskProperties.ExecutorServiceConfig
- Enclosing class:
- UiAsyncTaskProperties
Represents the configuration for an executor service used for handling UI asynchronous tasks.
Provides settings such as the maximum pool size for the thread pool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves the maximum pool size for the executor service.
-
Constructor Details
-
ExecutorServiceConfig
public ExecutorServiceConfig(@DefaultValue("10") int maximumPoolSize)
-
-
Method Details
-
getMaximumPoolSize
public int getMaximumPoolSize()Retrieves the maximum pool size for the executor service.- Returns:
- the maximum number of threads allowed in the pool
-