Created
September 11, 2013 22:39
-
-
Save LeifWarner/6530753 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalaVersion := "2.10.2" | |
libraryDependencies += "redis.clients" % "jedis" % "2.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Foo { | |
val jedis = new Jedis("localhost") | |
val t1 = jedis.multi | |
t1.hgetAll("bp2local:backplane_server_config") | |
val t2 = jedis.multi | |
t2.get("v2_last_id") | |
t2.exec | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment