Redis Java 客户端,Jedis 2.4.2 发布

jopen 11年前

Jedis 一个开源流行,易于使用的 Redis 官方首选的 Java 客户端开发包。今天 Jedis 2.4.2 发布- 一个新的版本,改进包括JedisCluster的连接处理和JedisCluster 多线程。Jedis的作者还开发了Redis的Groovy客户端Gedis

以下所有的Redis功能都支持:

  • 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
  • Redis Cluster
Jedis jedis = new Jedis("localhost");  jedis.set("foo", "bar");  String value = jedis.get("foo");