A bean instance pool with a strict upper limit
Name | Dynamic | Other provider points |
---|---|---|
org.wildfly.ejb3.pool-config | true |
none |
Type | STRING |
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 |
Allowed Values |
from-worker-pools from-cpu-count |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Is the attribute nillable? | true |
Where is the attribute stored? | runtime |
Access Type | read-only |
Stability Level | default |
Raw DMR model |
|
Type | INT |
Default Value | 20 |
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 | 1 |
Max | 2147483647 |
Stability Level | default |
Raw DMR model |
|
Type | LONG |
Default Value | 5 |
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 | 1 |
Max | 2147483647 |
Stability Level | default |
Raw DMR model |
|
Type | STRING |
Default Value | MINUTES |
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 |
Allowed Values |
MILLISECONDS MICROSECONDS HOURS SECONDS NANOSECONDS DAYS MINUTES |
Stability Level | default |
Raw DMR model |
|
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
derive-size | STRING | false | true | Specifies if and what the max pool size should be derived from. An undefined value (or the deprecated value 'none' which is converted to undefined) indicates that the explicit value of max-pool-size should be used. A value of 'from-worker-pools' indicates that the max pool size should be derived from the size of the total threads for all worker pools configured on the system. A value of 'from-cpu-count' indicates that the max pool size should be derived from the total number of processors available on the system. Note that the computation isn't a 1:1 mapping, the values may or may not be augmented by other factors. | |
max-pool-size | INT | false | true | 20 | Configured maximum number of bean instances that the pool can hold at a given point in time |
timeout | LONG | false | true | 5 | The maximum amount of time to wait for a bean instance to be available from the pool |
timeout-unit | STRING | false | true | MINUTES | The instance acquisition timeout unit |
Raw DMR model |
|
Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.ejb3.strict-max-bean-instance-pool">
<param name="strict-max-bean-instance-pool" value="{resource name}"/>
<param name="derive-size" value="{value}"/>
<param name="max-pool-size" value="{value}"/>
<param name="timeout" value="{value}"/>
<param name="timeout-unit" value="{value}"/>
<feature/>