Skip to content

Instantly share code, notes, and snippets.

@LeifWarner
Created September 11, 2013 22:39
Show Gist options
  • Save LeifWarner/6530753 to your computer and use it in GitHub Desktop.
Save LeifWarner/6530753 to your computer and use it in GitHub Desktop.
scalaVersion := "2.10.2"
libraryDependencies += "redis.clients" % "jedis" % "2.2.0"
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