3:d iteration of modularization (all but fun tests done)
This commit is contained in:
parent
91ad702e52
commit
6015b09bec
33 changed files with 388 additions and 164 deletions
|
|
@ -1,8 +1,7 @@
|
|||
package se.scalablesolutions.akka.kernel.state
|
||||
package se.scalablesolutions.akka.state
|
||||
|
||||
// abstracts persistence storage
|
||||
trait Storage {
|
||||
}
|
||||
trait Storage
|
||||
|
||||
// for Maps
|
||||
trait MapStorage extends Storage {
|
||||
|
|
@ -13,8 +12,7 @@ trait MapStorage extends Storage {
|
|||
def getMapStorageEntryFor(name: String, key: AnyRef): Option[AnyRef]
|
||||
def getMapStorageSizeFor(name: String): Int
|
||||
def getMapStorageFor(name: String): List[Tuple2[AnyRef, AnyRef]]
|
||||
def getMapStorageRangeFor(name: String, start: Option[AnyRef],
|
||||
finish: Option[AnyRef], count: Int): List[Tuple2[AnyRef, AnyRef]]
|
||||
def getMapStorageRangeFor(name: String, start: Option[AnyRef], finish: Option[AnyRef], count: Int): List[Tuple2[AnyRef, AnyRef]]
|
||||
}
|
||||
|
||||
// for vectors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue