forked from gamlerhart/adbcj
-
Notifications
You must be signed in to change notification settings - Fork 1
Config Options
gamlerhart edited this page Feb 27, 2013
·
2 revisions
Here a list of the config options, you can pass to ADBCJ. They are also defined in org.adbcj.StandardProperties:
- adbcj.maxQueueLength: ADBCJ drivers usually have a request queue, which contains are pending requests. This sets the maximum size of this queue. The main intention is to fail early, when to many requests are sent to a connection. Default 64
- org.adbcj.debug.capture.callstack: true or false. Enables better stack traces, which include the call-site of the request issuer. This can cost a lot of performance, to capture the stack trace at every ADBCJ call. Default: false
Here are the properties supported by the Connection Pool:
- pool.maxConnections: Number of maximum connections made to the database. Default: 50
- pool.maxWaitForConnection: Maximum time the pool waits for getting a connection, in case the maximum connection is reached. In Milliseconds. Default: 500ms