-
database
Integer database
-
master
String master
-
mode
String mode
-
url
String url
如果是集群或者哨兵模式;分隔.
-
password
String password
the password.
-
maxIdle
int maxIdle
Maximum number of "idle" connections in the pool. Use a negative value to
indicate an unlimited number of idle connections.
-
minIdle
int minIdle
Target for the minimum number of idle connections to maintain in the pool. This
setting only has an effect if it is positive.
-
maxActive
int maxActive
Maximum number of connections that can be allocated by the pool at a given
time. Use a negative value for no limit.
-
maxWait
Duration maxWait
Maximum amount of time a connection allocation should block before throwing an
exception when the pool is exhausted. Use a negative value to block
indefinitely.