A thread pool executor with an unbounded queue. Such a thread pool has a core size and a queue with no upper bound. When a task is submitted, if the number of running threads is less than the core size, a new thread is created. Otherwise, the task is placed in queue. If too many tasks are allowed to be submitted to this type of executor, an out of memory condition may occur.
Attribute | Value |
---|---|
Type | OBJECT |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | no-services |
Attribute | Value |
---|---|
Type | INT |
Nillable | false |
Expressions Allowed | true |
Min | 0 |
Max | 2,147,483,647 |
Storage | configuration |
Access Type | read-write |
Restart Required | no-services |
Attribute | Value |
---|---|
Type | STRING |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-only |
Attribute | Value |
---|---|
Type | STRING |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
max-threads | INT | true | true | The maximum thread pool size. | |
thread-factory | STRING | false | false | Specifies the name of a specific thread factory to use to create worker threads. If not defined an appropriate default thread factory will be used. | |
keepalive-time | OBJECT | false | false | Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down. | |
name | STRING | false | false | The name of the thread pool. |