io.helidon.data.sql.datasource.ucp.UcpDataSourceConfig
Description
UCP specific configuration for javax.
Configuration options
| Key | Type | Description |
|---|---|---|
connection- | Integer | Sets the connection repurpose threshold for the pool |
min- | Integer | Sets the minimum number of idle connections |
role- | String | Sets the data source role name |
ons- | String | Sets the configuration string used for remote ONS subscription |
description | String | Sets the data source description |
connection- | Integer | Sets the maximum number of connections that may be harvested when the connection harvesting occurs |
connection- | String | Sets the connection factory class name |
connection- | Integer | Sets the number of available connections below which the connection pool's connection harvesting will occur |
query- | Integer | Sets the number of seconds the driver will wait for a Statement object to execute to the given number of seconds |
max- | Integer | Sets the maximum connection reuse count |
read- | Boolean | Sets the read-only instance allowed value on the datasource |
server- | String | Sets the database server name |
timeout- | Integer | Sets the timeout check interval in seconds |
max- | Integer | Sets the max number of connections that can be created per shard from this connection pool |
validate- | Boolean | Makes the pool validate the connection before returning it to the user by calling the JDBC API is |
max- | Integer | Sets the maximum idle time for available connections in the pool in seconds |
max- | Integer | Sets the maximum number of statements that may be pooled or cached on a connection |
connection- | Duration | Configures how much time a connection request call may wait before it either successfully returns a connection or throws an exception |
property- | Integer | Sets the property cycle in seconds |
connection- | Integer | Sets the connection validation timeout in seconds |
high- | Integer | Sets the high-cost connection reuse threshold for connection labeling |
fast- | Boolean | Enables Fast Connection Failover (FCF) for the connection pool accessed using this pool-enabled data source |
sharding- | Boolean | Change the mode of UCP when UCP is using a Sharded Database |
connection- | Integer | Sets the cost value which identifies a connection as "high-cost" for connection labeling |
network- | String | Sets the data source network protocol |
commit- | Boolean | Sets the boolean value for the property that controls the behavior of UCP when a connection is released back to the pool with pending uncommitted changes in an active transaction |
min- | Integer | Sets the minimum number of connections |
initial- | Integer | Sets the initial pool size |
abandoned- | Integer | Sets the abandoned connection timeout |
seconds- | Integer | Sets the time to trust an idle connection to skip a validation test in seconds |
xa- | Boolean | Support for distributed transactions |
port- | Integer | Sets the database port number |
connection- | Map< | Sets the connection properties on the connection factory |
time- | Integer | Sets the maximum time a connection may remain in-use in seconds |
max- | Integer | Sets the maximum number of connections |
connection- | Map< | Sets the connection factory properties on the connection factory |
max- | Long | Sets the maximum connection reuse time in seconds |
sql- | String | Sets the SQL statement to validate the database connection |
database- | String | Sets the database name |
connection- | String | Sets the connection pool name |
data- | String | Sets the data source name |
inactive- | Integer | Sets the inactive connection timeout |
create- | Boolean | Set this flag to true to make UCP use the borrowing thread to create new connections |
Usages
See the manifest for all available types.