All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.spring-configuration-metadata.json Maven / Gradle / Ivy

There is a newer version: 2.0.1.RELEASE
Show newest version
{
  "properties": [
    {
      "name": "spring.redis.cache.defaultCacheMillis",
      "type": "java.time.Duration",
      "description": "默认缓存时长",
      "defaultValue": "-1M"
    },
    {
      "name": "spring.redis.prefix",
      "type": "java.lang.String",
      "description": "默认缓存前缀",
      "defaultValue": ""
    },
    {
      "name": "spring.redis.cache.caches",
      "type": "java.util.Map",
      "description": "cacheable 对应value缓存时间",
      "defaultValue": "-1M"
    },
    {
      "name": "spring.redis.timeout",
      "type": "java.lang.Long",
      "description": "客户端超时时间单位是毫秒",
      "defaultValue": "2000"
    },
    {
      "name": "spring.redis.maxIdle",
      "type": "java.lang.Long",
      "description": "最大空闲数",
      "defaultValue": "300"
    },
    {
      "name": "spring.redis.maxTotal",
      "type": "java.lang.Long",
      "description": "控制一个pool可分配多少个jedis实例",
      "defaultValue": "1000"
    },
    {
      "name": "spring.redis.maxWaitMillis",
      "type": "java.lang.Long",
      "description": "最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制",
      "defaultValue": "-1"
    },
    {
      "name": "spring.redis.minEvictableIdleTimeMillis",
      "type": "java.lang.Long",
      "description": "连接的最小空闲时间 默认1800000毫秒(30分钟)",
      "defaultValue": "1800000"
    },
    {
      "name": "spring.redis.numTestsPerEvictionRun",
      "type": "java.lang.Long",
      "description": "每次释放连接的最大数目",
      "defaultValue": "3"
    },
    {
      "name": "spring.redis.timeBetweenEvictionRunsMillis",
      "type": "java.lang.Long",
      "description": "逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程",
      "defaultValue": "-1"
    },
    {
      "name": "spring.redis.testOnBorrow",
      "type": "java.lang.Boolean",
      "description": "是否在从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个",
      "defaultValue": false
    },
    {
      "name": "spring.redis.testOnReturn",
      "type": "java.lang.Boolean",
      "description": "当应用使用完连接,连接池回收连接的时候会判断该连接是否还可用",
      "defaultValue": false
    },
    {
      "name": "spring.redis.testWhileIdle",
      "type": "java.lang.Boolean",
      "description": "在空闲时检查有效性",
      "defaultValue": true
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy