Package org.jredis

Examples of org.jredis.JRedis.dbsize()


  @Test
  public void testRaw() throws Exception {
    JRedis jr = (JRedis) factory.getConnection().getNativeConnection();

    System.out.println(jr.dbsize());
    System.out.println(jr.exists("foobar"));
    jr.set("foobar", "barfoo");
    System.out.println(jr.get("foobar"));
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.