Search in sources :

Example 6 with BinaryJedis

use of redis.clients.jedis.BinaryJedis in project jedis by xetorthio.

the class JedisTest method checkCloseable.

@Test
public void checkCloseable() {
    jedis.close();
    BinaryJedis bj = new BinaryJedis("localhost");
    bj.connect();
    bj.close();
}
Also used : BinaryJedis(redis.clients.jedis.BinaryJedis) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)6 BinaryJedis (redis.clients.jedis.BinaryJedis)6 ArrayList (java.util.ArrayList)2 List (java.util.List)2