99caa868e9653aebad68b1aafca9a7eb0aba4547.svn-base 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. package org.jeecg.common.constant;
  2. /**
  3. * @author: huangxutao
  4. * @date: 2019-06-14
  5. * @description: 缓存常量
  6. */
  7. public interface CacheConstant {
  8. /**
  9. * 字典信息缓存(含禁用的字典项)
  10. */
  11. public static final String SYS_DICT_CACHE = "sys:cache:dict";
  12. /**
  13. * 字典信息缓存 status为有效的
  14. */
  15. public static final String SYS_ENABLE_DICT_CACHE = "sys:cache:dictEnable";
  16. /**
  17. * 表字典信息缓存
  18. */
  19. public static final String SYS_DICT_TABLE_CACHE = "sys:cache:dictTable";
  20. public static final String SYS_DICT_TABLE_BY_KEYS_CACHE = SYS_DICT_TABLE_CACHE + "ByKeys";
  21. /**
  22. * 数据权限配置缓存
  23. */
  24. public static final String SYS_DATA_PERMISSIONS_CACHE = "sys:cache:permission:datarules";
  25. /**
  26. * 缓存用户信息
  27. */
  28. public static final String SYS_USERS_CACHE = "sys:cache:user";
  29. /**
  30. * 全部部门信息缓存
  31. */
  32. public static final String SYS_DEPARTS_CACHE = "sys:cache:depart:alldata";
  33. /**
  34. * 全部部门ids缓存
  35. */
  36. public static final String SYS_DEPART_IDS_CACHE = "sys:cache:depart:allids";
  37. /**
  38. * 测试缓存key
  39. */
  40. public static final String TEST_DEMO_CACHE = "test:demo";
  41. /**
  42. * 字典信息缓存
  43. */
  44. public static final String SYS_DYNAMICDB_CACHE = "sys:cache:dbconnect:dynamic:";
  45. /**
  46. * gateway路由缓存
  47. */
  48. public static final String GATEWAY_ROUTES = "sys:cache:cloud:gateway_routes";
  49. /**
  50. * gateway路由 reload key
  51. */
  52. public static final String ROUTE_JVM_RELOAD_TOPIC = "gateway_jvm_route_reload_topic";
  53. /**
  54. * TODO 冗余代码 待删除
  55. *插件商城排行榜
  56. */
  57. public static final String PLUGIN_MALL_RANKING = "pluginMall::rankingList";
  58. /**
  59. * TODO 冗余代码 待删除
  60. *插件商城排行榜
  61. */
  62. public static final String PLUGIN_MALL_PAGE_LIST = "pluginMall::queryPageList";
  63. /**
  64. * online列表页配置信息缓存key
  65. */
  66. public static final String ONLINE_LIST = "sys:cache:online:list";
  67. /**
  68. * online表单页配置信息缓存key
  69. */
  70. public static final String ONLINE_FORM = "sys:cache:online:form";
  71. /**
  72. * online报表
  73. */
  74. public static final String ONLINE_RP = "sys:cache:online:rp";
  75. /**
  76. * online图表
  77. */
  78. public static final String ONLINE_GRAPH = "sys:cache:online:graph";
  79. }