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

[min]

number

The minimum number of threads to keep alive (core pool size). Default is 1.

[max]

number

The maximum number of threads allowed (max pool size). Default is 5.

[keep_alive]

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