Merge branch 'master' of git@github.com:jboner/akka into workstealing
This commit is contained in:
commit
1f4ddfc9fc
4 changed files with 4 additions and 4 deletions
|
|
@ -261,7 +261,7 @@ private [akka] object RedisStorageBackend extends
|
|||
}
|
||||
|
||||
override def incrementByAtomically(name: String, by: Int): Option[Int] = withErrorHandling {
|
||||
db.incrBy(new String(encode(name.getBytes)), by) match {
|
||||
db.incrby(new String(encode(name.getBytes)), by) match {
|
||||
case Some(i) => Some(i)
|
||||
case None =>
|
||||
throw new Predef.IllegalArgumentException(name + " exception in incrby")
|
||||
|
|
@ -277,7 +277,7 @@ private [akka] object RedisStorageBackend extends
|
|||
}
|
||||
|
||||
override def decrementByAtomically(name: String, by: Int): Option[Int] = withErrorHandling {
|
||||
db.decrBy(new String(encode(name.getBytes)), by) match {
|
||||
db.decrby(new String(encode(name.getBytes)), by) match {
|
||||
case Some(i) => Some(i)
|
||||
case None =>
|
||||
throw new Predef.IllegalArgumentException(name + " exception in decrby")
|
||||
|
|
@ -390,7 +390,7 @@ private [akka] object RedisStorageBackend extends
|
|||
}
|
||||
}
|
||||
|
||||
def flushDB = withErrorHandling(db.flushDb)
|
||||
def flushDB = withErrorHandling(db.flushdb)
|
||||
|
||||
private def withErrorHandling[T](body: => T): T = {
|
||||
try {
|
||||
|
|
|
|||
Binary file not shown.
BIN
embedded-repo/com/redis/redisclient/1.2/redisclient-1.2.jar
Normal file
BIN
embedded-repo/com/redis/redisclient/1.2/redisclient-1.2.jar
Normal file
Binary file not shown.
|
|
@ -249,7 +249,7 @@ class AkkaParent(info: ProjectInfo) extends DefaultProject(info) {
|
|||
}
|
||||
|
||||
class AkkaRedisProject(info: ProjectInfo) extends DefaultProject(info) {
|
||||
val redis = "com.redis" % "redisclient" % "1.2-SNAPSHOT" % "compile"
|
||||
val redis = "com.redis" % "redisclient" % "1.2" % "compile"
|
||||
override def testOptions = TestFilter((name: String) => name.endsWith("Test")) :: Nil
|
||||
lazy val dist = deployTask(info, distPath) dependsOn(`package`) describedAs("Deploying")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue