174175176177178179180181182183184
PagingStoreImplTest.destinationTestName, addressSettings, getExecutorFactory().getExecutor(), true); storeImpl.start(); Assert.assertEquals(0, storeImpl.getNumberOfPages()); storeImpl.startPaging();
211212213214215216217218219220221
PagingStoreImplTest.destinationTestName, addressSettings, getExecutorFactory().getExecutor(), true); storeImpl.start(); Assert.assertEquals(1, storeImpl.getNumberOfPages()); }
239240241242243244245246247248249
315316317318319320321322323324325
463464465466467468469470471472473
new SimpleString("test"), settings, getExecutorFactory().getExecutor(), true); storeImpl.start(); Assert.assertEquals(0, storeImpl.getNumberOfPages()); // Marked the store to be paged storeImpl.startPaging();
626627628629630631632633634635636
storeFactory, new SimpleString("test"), settings, getExecutorFactory().getExecutor(), true); storeImpl2.start(); int numberOfPages = storeImpl2.getNumberOfPages(); Assert.assertTrue(numberOfPages != 0); storeImpl2.startPaging();
713714715716717718719720721722723
756757758759760761762763764765766
new SimpleString("test"), settings, getExecutorFactory().getExecutor(), false); storeImpl.start(); Assert.assertEquals(0, storeImpl.getNumberOfPages()); // Marked the store to be paged storeImpl.startPaging();
159160161162163164165166167168169
PagingStoreImplTest.destinationTestName, addressSettings, executor, true); storeImpl.start(); // this is not supposed to throw an exception. // As you could have start being called twice as Stores are dynamically // created, on a multi-thread environment storeImpl.start();
164165166167168169170171172173174
storeImpl.start(); // this is not supposed to throw an exception. // As you could have start being called twice as Stores are dynamically // created, on a multi-thread environment storeImpl.start(); storeImpl.stop(); }