Search in sources :

Example 1 with StoreManager

use of com.arjuna.ats.arjuna.objectstore.StoreManager in project narayana by jbosstm.

the class RawOptimisticHammerUnitTest method init.

private static synchronized void init() throws Exception {
    if (!_init) {
        StoreManager sm = new StoreManager(null, new TwoPhaseVolatileStore(new ObjectStoreEnvironmentBean()), null);
        _init = true;
    }
}
Also used : ObjectStoreEnvironmentBean(com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean) TwoPhaseVolatileStore(com.arjuna.ats.internal.arjuna.objectstore.TwoPhaseVolatileStore) StoreManager(com.arjuna.ats.arjuna.objectstore.StoreManager)

Example 2 with StoreManager

use of com.arjuna.ats.arjuna.objectstore.StoreManager in project narayana by jbosstm.

the class OptimisticUnitTest method init.

private static synchronized void init() throws Exception {
    if (!_init) {
        StoreManager sm = new StoreManager(null, new TwoPhaseVolatileStore(new ObjectStoreEnvironmentBean()), null);
        _init = true;
    }
}
Also used : ObjectStoreEnvironmentBean(com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean) TwoPhaseVolatileStore(com.arjuna.ats.internal.arjuna.objectstore.TwoPhaseVolatileStore) StoreManager(com.arjuna.ats.arjuna.objectstore.StoreManager)

Aggregations

ObjectStoreEnvironmentBean (com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean)2 StoreManager (com.arjuna.ats.arjuna.objectstore.StoreManager)2 TwoPhaseVolatileStore (com.arjuna.ats.internal.arjuna.objectstore.TwoPhaseVolatileStore)2