{
"operation-name" : "add",
"description" : "Adds configuration of the connection pool.",
"request-properties" : {
"exhausted-action" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Specifies what happens when asking for a connection from a server's pool, and that pool is exhausted.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "WAIT",
"allowed" : [
"EXCEPTION",
"WAIT",
"CREATE_NEW"
],
"stability" : "default"
},
"max-active" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "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.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"max-wait" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "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.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"min-evictable-idle-time" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "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.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1800000,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"min-idle" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "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.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}