WAIT
CREATE_NEW
max-active 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. Attribute | Value |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |
max-wait 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. Attribute | Value |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |
min-evictable-idle-time 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. Attribute | Value |
Default Value | 1800000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |
min-idle 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. Attribute | Value |
Default Value | 1 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |