A bean instance pool with a strict upper limit
| Attribute | Value |
|---|---|
| Default Value | none |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Allowed Values | none from-worker-pools from-cpu-count |
| Attribute | Value |
|---|---|
| Default Value | 20 |
| Type | INT |
| Nillable | true |
| Expressions Allowed | true |
| Min | 1 |
| Max | 2,147,483,647 |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Default Value | 5 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Min | 1 |
| Max | 2,147,483,647 |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Default Value | MINUTES |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Allowed Values | NANOSECONDS MICROSECONDS MILLISECONDS SECONDS MINUTES HOURS DAYS |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| derive-size | STRING | false | true | none | Specifies if and what the max pool size should be derived from. A value of 'none', the default, 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 | The 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 |