redis集群java客户端,支持批量提交

上传者: cs_chang | 上传时间: 2023-10-26 07:01:58 | 文件大小: 11.44MB | 文件类型: ZIP
java客户端不是很好支持redis cluster,spring-date-redis和jedis批量提交还不支持,单个提交都是可以的。 为了批量解决批量提交 网上有几个方案,本示例使用了其中一种,demo里的JedisClusterPipeline类是网上找的,忘记了作者叫什么(里面有注释)。 使用的spring版本是4.3.2以下版本可能不是很好支持,jedis版本是2.8.2, spring-data-redis版本是1.7.2。

文件下载

资源详情

[{"title":"( 64 个子文件 11.44MB ) redis集群java客户端,支持批量提交","children":[{"title":"redisCluster-demo","children":[{"title":".project <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"redis.properties <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"redis","children":[{"title":"BaseObjec.java <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"JedisConnect.java <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"RedisBaseDao.java <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"JedisUtils.java <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"JedisClusterPipeline.java <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"ClusterSerializer.java <span style='color:#111;'> 365B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"WebRoot","children":[{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"redis.properties <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"redis","children":[{"title":"JedisClusterPipeline.class <span style='color:#111;'> 8.76KB </span>","children":null,"spread":false},{"title":"JedisConnect$9.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"RedisBaseDao.class <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"JedisConnect.class <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"JedisConnect$8.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"JedisConnect$3.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"JedisConnect$5.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"ClusterSerializer.class <span style='color:#111;'> 705B </span>","children":null,"spread":false},{"title":"JedisConnect$1.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"JedisUtils.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"JedisConnect$2.class <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"JedisConnect$7.class <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"JedisConnect$4.class <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"JedisConnect$6.class <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"BaseObjec.class <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"spring-aop-4.3.2.RELEASE.jar <span style='color:#111;'> 370.92KB </span>","children":null,"spread":false},{"title":"spring-jdbc-4.3.2.RELEASE.jar <span style='color:#111;'> 416.35KB </span>","children":null,"spread":false},{"title":"spring-aspects-4.3.2.RELEASE.jar <span style='color:#111;'> 57.34KB </span>","children":null,"spread":false},{"title":"spring-context-4.3.2.RELEASE.jar <span style='color:#111;'> 1.08MB </span>","children":null,"spread":false},{"title":"jedis-2.8.2.jar <span style='color:#111;'> 527.96KB </span>","children":null,"spread":false},{"title":"spring-websocket-4.3.2.RELEASE.jar <span style='color:#111;'> 438.73KB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.3.2.RELEASE.jar <span style='color:#111;'> 892.56KB </span>","children":null,"spread":false},{"title":"spring-instrument-4.3.2.RELEASE.jar <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"spring-messaging-4.3.2.RELEASE.jar <span style='color:#111;'> 372.76KB </span>","children":null,"spread":false},{"title":"spring-context-support-4.3.2.RELEASE.jar <span style='color:#111;'> 182.78KB </span>","children":null,"spread":false},{"title":"spring-jms-4.3.2.RELEASE.jar <span style='color:#111;'> 282.47KB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.3.2.RELEASE-javadoc.jar <span style='color:#111;'> 1.92MB </span>","children":null,"spread":false},{"title":"spring-oxm-4.3.2.RELEASE.jar <span style='color:#111;'> 83.31KB </span>","children":null,"spread":false},{"title":"spring-data-redis-1.7.2.RELEASE.jar <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"spring-test-4.3.2.RELEASE.jar <span style='color:#111;'> 577.78KB </span>","children":null,"spread":false},{"title":"spring-beans-4.3.2.RELEASE.jar <span style='color:#111;'> 739.39KB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.3.2.RELEASE-sources.jar <span style='color:#111;'> 836.92KB </span>","children":null,"spread":false},{"title":"spring-orm-4.3.2.RELEASE.jar <span style='color:#111;'> 465.00KB </span>","children":null,"spread":false},{"title":"spring-core-4.3.2.RELEASE.jar <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"spring-instrument-tomcat-4.3.2.RELEASE.jar <span style='color:#111;'> 10.32KB </span>","children":null,"spread":false},{"title":"spring-tx-4.3.2.RELEASE.jar <span style='color:#111;'> 260.76KB </span>","children":null,"spread":false},{"title":"spring-expression-4.3.2.RELEASE.jar <span style='color:#111;'> 257.51KB </span>","children":null,"spread":false},{"title":"spring-web-4.3.2.RELEASE.jar <span style='color:#111;'> 792.66KB </span>","children":null,"spread":false},{"title":"spring-webmvc-portlet-4.3.2.RELEASE.jar <span style='color:#111;'> 172.71KB </span>","children":null,"spread":false}],"spread":false},{"title":"struts-2.0.dtd <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"web.xml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"com.genuitec.eclipse.migration.prefs <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.prefs.xml <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 522B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 803B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明