First pass at Riak Backend
This commit is contained in:
parent
bf227926cf
commit
6ae5abf114
4 changed files with 671 additions and 3 deletions
|
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* Copyright (C) 2009-2010 Scalable Solutions AB <http://scalablesolutions.se>
|
||||
*/
|
||||
|
||||
package se.scalablesolutions.akka.persistence.riak
|
||||
|
||||
|
||||
import org.junit.runner.RunWith
|
||||
import org.scalatest.junit.JUnitRunner
|
||||
import se.scalablesolutions.akka.persistence.common._
|
||||
|
||||
@RunWith(classOf[JUnitRunner])
|
||||
class RiakTicket343Test extends Ticket343Test {
|
||||
def dropMapsAndVectors: Unit = {
|
||||
RiakStorageBackend.VectorClient.drop
|
||||
RiakStorageBackend.MapClient.drop
|
||||
}
|
||||
|
||||
def getVector: (String) => PersistentVector[Array[Byte]] = RiakStorage.getVector
|
||||
|
||||
def getMap: (String) => PersistentMap[Array[Byte], Array[Byte]] = RiakStorage.getMap
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue