![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Redis
文章平均质量分 66
Hiytunes
这个作者很懒,什么都没留下…
展开
-
redis在Java(Jedis)中用作消息队列与发布订阅
redis的消息队列是JedisFactoryimport redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; /** * @author kangtaiyang * @date 2018/6/29 */ public cla...原创 2018-07-01 11:27:20 · 498 阅读 · 0 评论 -
Redis与Java结合——工厂类
内容为本人原创,转载请标明出处。首先介绍spring配置:<!-- 配置JedisPoolConfig --> <bean id="jedisPoolConfig" class="redis.clients.jedis.JedisPoolConfig"> <property name="maxTotal" value="${redis.maxTotal}&原创 2018-07-06 15:38:57 · 1351 阅读 · 0 评论 -
Redis与Java结合——mysql redis同步工具类
首先将所有实体类都继承BaseEntity:BaseEntity:package org.ty.cloudCourse.entity; import java.util.HashMap; import java.util.Map; /** * @author kangtaiyang * @date 2018/7/3 */ public abstract class BaseEntity ...原创 2018-07-06 15:43:52 · 3178 阅读 · 0 评论 -
服务器重启后jedis连接密码失效问题
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool...异常体...Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no passw...原创 2018-07-06 18:42:46 · 240 阅读 · 0 评论