![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Jedis
浅唱深爱
这个作者很懒,什么都没留下…
展开
-
创建JedisPool连接池----测试步骤
@Testpublic void testJedisPool()throws Exception{ //1.创建一个JedisPool连接池对象,参数host、port JedisPool jedisPool = new JedisPool("127.0.0.1", 6379); //2.从连接池中获取一个链接,去链接jedis对象 Jedis jedis = jedisPool.get...原创 2019-04-01 15:25:50 · 944 阅读 · 0 评论 -
Redis在Windows下的安装+使用方法
1.首先把windows x64bit 版本下的Redis安装包下载下来windows下载地址:https://github.com/MicrosoftArchive/redis/releases2.解压到我们的工作目录下3.打开该目录4.在此页面–按住shift+鼠标右键—点击 在此处打开命令窗口----进入命令窗口在命令行中输入:redis-server.exe redis.w...原创 2019-04-01 16:48:30 · 119 阅读 · 0 评论