porting a ticket 450 change over
This commit is contained in:
parent
bfd647ac6f
commit
0fc3f2fbd4
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ object StorageObj {
|
|||
var getVector: String => PersistentVector[Array[Byte]] = _
|
||||
|
||||
class SampleMapStorage extends Actor {
|
||||
self.lifeCycle = Some(LifeCycle(Permanent))
|
||||
self.lifeCycle = Permanent
|
||||
val FOO_MAP = "akka.sample.map"
|
||||
|
||||
private var fooMap = atomic {StorageObj.getMap(FOO_MAP)}
|
||||
|
|
@ -134,7 +134,7 @@ object StorageObj {
|
|||
}
|
||||
|
||||
class SampleVectorStorage extends Actor {
|
||||
self.lifeCycle = Some(LifeCycle(Permanent))
|
||||
self.lifeCycle = Permanent
|
||||
val FOO_VECTOR = "akka.sample.vector"
|
||||
|
||||
private var fooVector = atomic {StorageObj.getVector(FOO_VECTOR)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue