added new multiverse managed reference

This commit is contained in:
jboner 2009-09-13 12:20:44 +02:00
parent da0ce0add4
commit 3be193904d
11 changed files with 774 additions and 262 deletions

View file

@ -6,9 +6,9 @@ import se.scalablesolutions.akka.state.*;
@transactionrequired
public class PersistentStateful {
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());
private PersistentMap mapState = factory.newMap(new CassandraStorageConfig());
private PersistentVector vectorState = factory.newVector(new CassandraStorageConfig());;
private PersistentRef refState = factory.newRef(new CassandraStorageConfig());
public String getMapState(String key) {