[ThirdParty]Jedis

Jedis是一个小巧稳定的redis java客户端。

jedis是一个易用的客户端。

Jedis跟Redis主干代码保持兼容。

Jedis的主要功能点

Redis的下面特性都被支持:

  • sorting排序
  • connection handling连接保持
  • commands operating on all the 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
  • ipelining
  • publish/Subscribe
  • persistence control commands
  • remote server control commands
  • connection pooling

How do I use it?

http://github.com/xetorthio/jedis/downloads

To use it just:

    Jedis jedis =newJedis("localhost");
    jedis
.connect();
    jedis
.set("foo","bar");
   
String value = jedis.get("foo");

For more usage examples check the tests. Soon I will add a nice wiki with everything you should know.

And you are done!

Where are the sources?

The project sources are hosted in: http://github.com/xetorthio/jedis

License

转载于:https://www.cnblogs.com/weisteve/archive/2013/04/21/3033637.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值