-
minConnectionsPerPartition
int minConnectionsPerPartition
Min number of connections per partition.
-
maxConnectionsPerPartition
int maxConnectionsPerPartition
Max number of connections per partition.
-
acquireIncrement
int acquireIncrement
Number of new connections to create in 1 batch.
-
partitionCount
int partitionCount
Number of partitions.
-
jdbcUrl
java.lang.String jdbcUrl
DB connection string.
-
username
java.lang.String username
User name to use.
-
password
java.lang.String password
Password to use.
-
idleConnectionTestPeriodInSeconds
long idleConnectionTestPeriodInSeconds
Connections older than this are sent a keep-alive statement.
-
idleMaxAgeInSeconds
long idleMaxAgeInSeconds
Maximum age of an unused connection before it is closed off.
-
connectionTestStatement
java.lang.String connectionTestStatement
SQL statement to use for keep-alive/test of connection.
-
statementsCacheSize
int statementsCacheSize
Min no of prepared statements to cache.
-
statementsCachedPerConnection
int statementsCachedPerConnection
No of statements that can be cached per connection. Deprecated.
-
releaseHelperThreads
int releaseHelperThreads
Number of release-connection helper threads to create per partition.
-
statementReleaseHelperThreads
int statementReleaseHelperThreads
Number of statement release helper threads to create.
-
connectionHook
ConnectionHook connectionHook
Hook class (external).
-
initSQL
java.lang.String initSQL
Query to send once per connection to the database.
-
closeConnectionWatch
boolean closeConnectionWatch
If set to true, create a new thread that monitors a connection and displays warnings if application failed to
close the connection. FOR DEBUG PURPOSES ONLY!
-
logStatementsEnabled
boolean logStatementsEnabled
If set to true, log SQL statements being executed.
-
acquireRetryDelayInMs
long acquireRetryDelayInMs
After attempting to acquire a connection and failing, wait for this value before attempting to acquire a new connection again.
-
acquireRetryAttempts
int acquireRetryAttempts
After attempting to acquire a connection and failing, try to connect these many times before giving up.
-
lazyInit
boolean lazyInit
If set to true, the connection pool will remain empty until the first connection is obtained.
-
transactionRecoveryEnabled
boolean transactionRecoveryEnabled
If set to true, stores all activity on this connection to allow for replaying it again.
-
connectionHookClassName
java.lang.String connectionHookClassName
Connection hook class name.
-
classLoader
java.lang.ClassLoader classLoader
Classloader to use when loading the JDBC driver.
-
poolName
java.lang.String poolName
Name of the pool for JMX and thread names.
-
disableJMX
boolean disableJMX
Set to true to disable JMX.
-
datasourceBean
javax.sql.DataSource datasourceBean
If set, use datasourceBean.getConnection() to obtain a new connection.
-
queryExecuteTimeLimitInMs
long queryExecuteTimeLimitInMs
Queries taking longer than this limit to execute are logged.
-
poolAvailabilityThreshold
int poolAvailabilityThreshold
Create more connections when we hit x% of our possible number of connections.
-
disableConnectionTracking
boolean disableConnectionTracking
Disable connection tracking.
-
driverProperties
java.util.Properties driverProperties
Used when the alternate way of obtaining a connection is required
-
connectionTimeoutInMs
long connectionTimeoutInMs
Time to wait before a call to getConnection() times out and returns an error.
-
closeConnectionWatchTimeoutInMs
long closeConnectionWatchTimeoutInMs
Time in ms to wait for close connection watch thread.
-
maxConnectionAgeInSeconds
long maxConnectionAgeInSeconds
A connection older than maxConnectionAge will be destroyed and purged from the pool.
-
configFile
java.lang.String configFile
Config property.
-
serviceOrder
java.lang.String serviceOrder
Queue mode. Values currently understood are FIFO and LIFO.
-
statisticsEnabled
boolean statisticsEnabled
If true, keep track of some statistics.
-
defaultAutoCommit
java.lang.Boolean defaultAutoCommit
The default auto-commit state of created connections.
-
defaultReadOnly
java.lang.Boolean defaultReadOnly
The default read-only state of created connections.
-
defaultTransactionIsolation
java.lang.String defaultTransactionIsolation
The default transaction isolation state of created connections.
-
defaultCatalog
java.lang.String defaultCatalog
The default catalog state of created connections.
-
defaultTransactionIsolationValue
int defaultTransactionIsolationValue
The parsed transaction isolation value. Default = driver value
-
externalAuth
boolean externalAuth
If true, stop caring about username/password when obtaining raw connections.