adapted fun tests to new module layout

This commit is contained in:
jboner 2009-09-04 09:47:32 +02:00
parent b865a84940
commit 46cff1a0a1
18 changed files with 84 additions and 58 deletions

View file

@ -1,14 +1,14 @@
package se.scalablesolutions.akka.api;
import se.scalablesolutions.akka.annotation.transactionrequired;
import se.scalablesolutions.akka.kernel.state.*;
import se.scalablesolutions.akka.state.*;
@transactionrequired
public class PersistentStateful {
private TransactionalState factory = new TransactionalState();
private TransactionalMap mapState = factory.newPersistentMap(new CassandraStorageConfig());
private TransactionalVector vectorState = factory.newPersistentVector(new CassandraStorageConfig());;
private TransactionalRef refState = factory.newPersistentRef(new CassandraStorageConfig());
private PersistentState factory = new PersistentState();
private TransactionalMap mapState = factory.newMap(new CassandraStorageConfig());
private TransactionalVector vectorState = factory.newVector(new CassandraStorageConfig());;
private TransactionalRef refState = factory.newRef(new CassandraStorageConfig());
public String getMapState(String key) {