iconLoadingThreads([min], [max], [keep_alive])
Class: SwingUI.
Description:
Adjusts or retrieves the thread pool size and keep-alive time for image loading tasks.
Each argument is optional. Setting null to any argument will not change it's value.
Returns current configuration if no arguments are specified.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
The minimum number of threads to keep alive (core pool size). Default is 1. |
|
|
number |
The maximum number of threads allowed (max pool size). Default is 5. |
|
|
number |
The idle time (in seconds) before excess threads are terminated when idle. Default is 5 seconds. |
Returns:
When setting arguments, this instance of SwingUI is returned, otherwise current value is returned.
Type: object | SwingUI
