Defines workers
Name | Dynamic | Other provider points |
---|---|---|
org.wildfly.io.worker | true |
none |
Type | INT |
Where is the attribute stored? | runtime |
Access Type | metric |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Where is the attribute stored? | runtime |
Access Type | metric |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Where is the attribute stored? | runtime |
Access Type | metric |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Is the attribute nillable? | true |
Does the attribute allow expression? | true |
Where is the attribute stored? | configuration |
Access Type | read-write |
Is restarted required? | all-services |
Min | 0 |
Max | 2147483647 |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Where is the attribute stored? | runtime |
Access Type | metric |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Where is the attribute stored? | runtime |
Access Type | metric |
Stability Level | default |
Raw DMR model |
|
Type | BOOLEAN |
Where is the attribute stored? | runtime |
Access Type | read-only |
Stability Level | default |
Raw DMR model |
|
Type | LONG |
Default Value | 0 |
Is the attribute nillable? | true |
Does the attribute allow expression? | true |
Where is the attribute stored? | configuration |
Access Type | read-write |
Is restarted required? | all-services |
Min | 0 |
Max | 9223372036854775807 |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Default Value | 2 |
Is the attribute nillable? | true |
Does the attribute allow expression? | true |
Where is the attribute stored? | configuration |
Access Type | read-write |
Is restarted required? | no-services |
Min | 0 |
Max | 2147483647 |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Default Value | 60000 |
Is the attribute nillable? | true |
Does the attribute allow expression? | true |
Where is the attribute stored? | configuration |
Access Type | read-write |
Is restarted required? | no-services |
Min | 0 |
Max | 2147483647 |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Is the attribute nillable? | true |
Does the attribute allow expression? | true |
Where is the attribute stored? | configuration |
Access Type | read-write |
Is restarted required? | no-services |
Min | 0 |
Max | 2147483647 |
Stability Level | default |
Raw DMR model |
|
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
io-threads | INT | false | true | Specify the number of I/O threads to create for the worker. If not specified, a default will be chosen, which is calculated by cpuCount * 2 | |
stack-size | LONG | false | true | 0 | The stack size (in bytes) to attempt to use for worker threads. |
task-core-threads | INT | false | true | 2 | Specify the starting number of threads for the worker task thread pool. |
task-keepalive | INT | false | true | 60000 | Specify the number of milliseconds to keep non-core task threads alive. |
task-max-threads | INT | false | true | Specify the maximum number of threads for the worker task thread pool.If not set, a default value used which is calculated by the formula cpuCount * 16,as long as the MaxFileDescriptorCount jmx property allows that number; otherwise the calculation takes that max into account and adjusts accordingly. |
Raw DMR model |
|
Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.io.worker">
<param name="worker" value="{resource name}"/>
<param name="io-threads" value="{value}"/>
<param name="stack-size" value="{value}"/>
<param name="task-core-threads" value="{value}"/>
<param name="task-keepalive" value="{value}"/>
<param name="task-max-threads" value="{value}"/>
<feature/>