[ThirdParty]Jedis

2015 ワード

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