first draft of MVCC using Clojure's Map as state holder, still one test failing though
This commit is contained in:
parent
a453930503
commit
3e703a53ab
9 changed files with 212 additions and 92 deletions
|
|
@ -81,7 +81,10 @@ trait GenericServer extends Actor {
|
|||
*
|
||||
* @author <a href="http://jonasboner.com">Jonas Bonér</a>
|
||||
*/
|
||||
class GenericServerContainer(val id: String, var serverFactory: () => GenericServer) extends Logging {
|
||||
class GenericServerContainer(
|
||||
val id: String,
|
||||
var serverFactory: () => GenericServer,
|
||||
private[kernel] var state: Option[TransientObjectState]) extends Logging {
|
||||
require(id != null && id != "")
|
||||
|
||||
// TODO: see if we can parameterize class and add type safe getActor method
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue