/// <exception cref="System.IO.IOException"/>
        private HistoryServerStateStoreService CreateAndStartStore()
        {
            HistoryServerStateStoreService store = HistoryServerStateStoreServiceFactory.GetStore
                                                       (conf);

            NUnit.Framework.Assert.IsTrue("Factory did not create a leveldb store", store is
                                          HistoryServerLeveldbStateStoreService);
            store.Init(conf);
            store.Start();
            return(store);
        }
Example #2
0
 protected internal virtual HistoryServerStateStoreService CreateStateStore(Configuration
                                                                            conf)
 {
     return(HistoryServerStateStoreServiceFactory.GetStore(conf));
 }