Configuration of the connection pool.
| Name | Dynamic | Other provider points |
|---|---|---|
| org.wildfly.clustering.infinispan.remote-cache-configuration.component.connection-pool | true | none |
| Attribute | Value |
|---|---|
| Default Value | WAIT |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Allowed Values | EXCEPTION WAIT CREATE_NEW |
| Stability | default |
| Attribute | Value |
|---|---|
| Type | INT |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Stability | default |
| Attribute | Value |
|---|---|
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Stability | default |
| Attribute | Value |
|---|---|
| Default Value | 1800000 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Stability | default |
| Attribute | Value |
|---|---|
| Default Value | 1 |
| Type | INT |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Stability | default |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| exhausted-action | STRING | false | true | WAIT | Specifies what happens when asking for a connection from a server's pool, and that pool is exhausted. |
| max-active | INT | false | true | Controls the maximum number of connections per server that are allocated (checked out to client threads, or idle in the pool) at one time. When non-positive, there is no limit to the number of connections per server. When maxActive is reached, the connection pool for that server is said to be exhausted. Value -1 means no limit. | |
| max-wait | LONG | false | true | The amount of time in milliseconds to wait for a connection to become available when the exhausted action is ExhaustedAction.WAIT, after which a java.util.NoSuchElementException will be thrown. If a negative value is supplied, the pool will block indefinitely. | |
| min-evictable-idle-time | LONG | false | true | 1800000 | Specifies the minimum amount of time that an connection may sit idle in the pool before it is eligible for eviction due to idle time. When non-positive, no connection will be dropped from the pool due to idle time alone. This setting has no effect unless timeBetweenEvictionRunsMillis > 0. |
| min-idle | INT | false | true | 1 | Sets a target value for the minimum number of idle connections (per server) that should always be available. If this parameter is set to a positive number and timeBetweenEvictionRunsMillis > 0, each time the idle connection eviction thread runs, it will try to create enough idle instances so that there will be minIdle idle instances available for each server. |