The thread pool used for batch jobs. Note that the max-thread attribute should always be greater than 3. Two threads are reserved to ensure partition jobs can execute.
| Name | Dynamic | Other provider points | 
|---|---|---|
| org.wildfly.batch.thread.pool | true |   none  |  
| Attribute | Value | 
|---|---|
| Type | INT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | runtime | 
| Access Type | metric | 
| Attribute | Value | 
|---|---|
| Type | INT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | runtime | 
| Access Type | metric | 
| Attribute | Value | 
|---|---|
| Type | INT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | runtime | 
| Access Type | metric | 
| 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 | false | 
| Storage | runtime | 
| Access Type | metric | 
| 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 | INT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | runtime | 
| Access Type | metric | 
| Attribute | Value | 
|---|---|
| Type | INT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | runtime | 
| Access Type | metric | 
| Attribute | Value | 
|---|---|
| Type | INT | 
| Nillable | false | 
| Expressions Allowed | false | 
| Storage | runtime | 
| Access Type | metric | 
| Attribute | Value | 
|---|---|
| Capability reference | |
| 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 | 
|---|---|---|---|---|---|
| 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. | |
| max-threads | INT | true | true | The maximum thread pool size. Note this should always be greater than 3. Two threads are reserved to ensure partition jobs can execute as expected. | |
| 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. |