/** * Test ability to create a {@link Journal} and then shut it down (in * particular this is testing shutdown of the thread pool on the * {@link ConcurrencyManager}). */ public void test_shutdown() { final Journal journal = new Journal(getProperties()); try { journal.shutdown(); } finally { journal.destroy(); } }
sourceJournal.shutdown();
/** * Test ability to create a {@link Journal} and then shut it down (in * particular this is testing shutdown of the thread pool on the * {@link ConcurrencyManager}). */ public void test_shutdown() { final Journal journal = new Journal(getProperties()); try { journal.shutdown(); } finally { journal.destroy(); } }
sourceJournal.shutdown();
eventStore.shutdown();
jnl.shutdown(); break; case 1:
eventStore.shutdown();
jnl.shutdown(); break; case 1:
journal.shutdown(); journal = new Journal(getProperties("2000"));
journal.shutdown(); journal = new Journal(getProperties("2000"));