360SDN.COM

首页/Redis/列表

Redis 的 Java客户端开发库Jedis

来源:  2018-08-23 19:53:37    评论:0点击:


授权协议:MIT
开发语言:Java
操作系统:跨平台



Jedis 是 Redis 官方首选的 Java 客户端开发包。

实例方法:

import redis.clients.jedis.*
Jedis jedis = new Jedis("localhost");
jedis.set("foo""bar");
String value = jedis.get("foo");

支持的特效:

  • Sorting

  • Connection handling

  • Commands operating on any kind of values

  • Commands operating on string values

  • Commands operating on hashes

  • Commands operating on lists

  • Commands operating on sets

  • Commands operating on sorted sets

  • Transactions

  • Pipelining

  • Publish/Subscribe

  • Persistence control commands

  • Remote server control commands

  • Connection pooling

  • Sharding (MD5, MurmurHash)

  • Key-tags for sharding

  • Sharding with pipelining

  • Scripting with pipelining

Maven:

redis.clients    jedis    2.9.0    jar    compile

API文档:http://tool.oschina.net/apidocs/apidoc?api=jedis-2.1.0

来源:https://www.oschina.net/p/jedis
为您推荐

友情链接 |九搜汽车网 |手机ok生活信息网|ok生活信息网|ok微生活
 Powered by www.360SDN.COM   京ICP备11022651号-4 © 2012-2016 版权