protected void destroy() { if (jnl != null) { jnl.destroy(); jnl = null; } }
protected void destroy() { if (jnl != null) { jnl.destroy(); jnl = null; } }
public void tearDown() throws Exception { if (jnl != null) { jnl.destroy(); jnl = null; } // clear reference. rel = null; }
public void tearDown() throws Exception { if (jnl != null) { jnl.destroy(); jnl = null; } // clear reference. rel = null; }
@Override public void tearDownComparisonTest() throws Exception { if (journal != null) { journal.destroy(); } }
public void tearDown() throws Exception { if (jnl != null) { jnl.destroy(); jnl = null; } // clear reference. rel = null; }
public void tearDown() throws IOException { try { journal.destroy(); } catch( IllegalStateException ex ) { System.err.println("Could not close the journal: "+ex); } }
protected void destroy() { if (jnl != null) { jnl.destroy(); jnl = null; } }
@Override public void tearDown() throws Exception { if (queryEngine != null) { queryEngine.shutdownNow(); queryEngine = null; } if (jnl != null) { jnl.destroy(); jnl = null; } }
@Override public void tearDown() throws Exception { if (jnl != null) { jnl.destroy(); jnl = null; } super.tearDown(); }
@Override public void tearDown() throws Exception { if (queryEngine != null) { queryEngine.shutdownNow(); queryEngine = null; } if (jnl != null) { jnl.destroy(); jnl = null; } }
public void tearDown() throws Exception { if (queryEngine != null) { queryEngine.shutdownNow(); queryEngine = null; } if (jnl != null) { jnl.destroy(); jnl = null; } }
@Override public void tearDown() throws Exception { if (jnl != null) { jnl.destroy(); jnl = null; } super.tearDown(); }
@Override public void tearDown() throws Exception { if (queryEngine != null) { queryEngine.shutdownNow(); queryEngine = null; } if (jnl != null) { jnl.destroy(); jnl = null; } }
public void tearDown() throws Exception { if (queryEngine != null) { queryEngine.shutdownNow(); queryEngine = null; } if (jnl != null) { jnl.destroy(); jnl = null; } }
@Override public void tearDown() throws Exception { if (queryEngine != null) { queryEngine.shutdownNow(); queryEngine = null; } if (jnl != null) { jnl.destroy(); jnl = null; } }
@Override public void tearDown() throws Exception { if (jnl != null) { jnl.destroy(); jnl = null; } super.tearDown(); }
public void test_allocCommitFreeWithHistory() { final Journal store = (Journal) getStore(4); try { final RWStrategy bs = (RWStrategy) store.getBufferStrategy(); final long addr = bs.write(randomData(78)); store.commit(); bs.delete(addr); assertTrue(bs.isCommitted(addr)); } finally { store.destroy(); } }
public void test_allocCommitFree() { final Journal store = getJournal(getProperties()); try { MemStrategy bs = (MemStrategy) store.getBufferStrategy(); final long addr = bs.write(randomData(78)); store.commit(); bs.delete(addr); assertTrue(bs.isCommitted(addr)); } finally { store.destroy(); } }
public void test_allocCommitFree() { final Journal store = getJournal(getProperties()); try { MemStrategy bs = (MemStrategy) store.getBufferStrategy(); final long addr = bs.write(randomData(78)); store.commit(); bs.delete(addr); assertTrue(bs.isCommitted(addr)); } finally { store.destroy(); } }