Add deprecated metadata for Redis pool

See gh-10076
This commit is contained in:
Stephane Nicoll 2017-08-25 16:20:50 +02:00
parent b2950b568c
commit b57e66fbe5
1 changed files with 40 additions and 0 deletions

View File

@ -876,6 +876,46 @@
"level": "error"
}
},
{
"name": "spring.redis.pool.max-active",
"type": "java.lang.Integer",
"description": "Max number of connections that can be allocated by the pool at a given time.\n Use a negative value for no limit.",
"defaultValue": 8,
"deprecation": {
"replacement": "spring.redis.jedis.pool.max-idle",
"level": "error"
}
},
{
"name": "spring.redis.pool.max-idle",
"type": "java.lang.Integer",
"description": "Max number of \"idle\" connections in the pool. Use a negative value to indicate\n an unlimited number of idle connections.",
"defaultValue": 8,
"deprecation": {
"replacement": "spring.redis.jedis.pool.max-idle",
"level": "error"
}
},
{
"name": "spring.redis.pool.max-wait",
"type": "java.lang.Integer",
"description": "Maximum amount of time (in milliseconds) a connection allocation should block\n before throwing an exception when the pool is exhausted. Use a negative value\n to block indefinitely.",
"defaultValue": -1,
"deprecation": {
"replacement": "spring.redis.jedis.pool.max-wait",
"level": "error"
}
},
{
"name": "spring.redis.pool.min-idle",
"type": "java.lang.Integer",
"description": "Target for the minimum number of idle connections to maintain in the pool. This\n setting only has an effect if it is positive.",
"defaultValue": 0,
"deprecation": {
"replacement": "spring.redis.jedis.pool.min-idle",
"level": "error"
}
},
{
"name": "spring.session.jdbc.initializer.enabled",
"type": "java.lang.Boolean",