cache.json 767 B

12345678910111213141516171819202122232425262728
  1. {
  2. "type": "redis",
  3. "redis": {
  4. "host": "127.0.0.1",
  5. "port": 6379.0,
  6. "user": "",
  7. "password": "",
  8. "connectionTimeout": 3000.0,
  9. "socketTimeout": 3000.0,
  10. "sslEnable": false,
  11. "index": 0.0,
  12. "###host": "redis服务器地址###",
  13. "###port": "redis服务器端口###",
  14. "###user": "认证用户###",
  15. "###password": "认证口令###",
  16. "###connectionTimeout": "连接等待时间###",
  17. "###socketTimeout": "response返回等待时间###",
  18. "###sslEnable": "是否启用ssl###",
  19. "###index": "数据库编号###"
  20. },
  21. "ehcache": {
  22. "jmxEnable": false,
  23. "###jmxEnable": "是否启用jmx###"
  24. },
  25. "###type": "缓存类型:ehcache,type###",
  26. "###redis": "redis配置###",
  27. "###ehcache": "ehcache配置###"
  28. }