@Override protected void tearDown() throws Exception { if (dataRep != null) { dataRep.shutDown(); dataRep = null; } }
@Override public void shutdown() { try { cacheRepository.shutDown(); } catch (RepositoryException e) { log.error("error while shutting down cache repository", e); } }
private void shutDownQuietly(Repository repository) { if(repository!=null) { try { repository.shutDown(); } catch (OpenRDFException e) { if(LOGGER.isWarnEnabled()) { LOGGER.warn("Could not shutdown internal repository",e); } } } }
public void tearDown() throws Exception { con.close(); repo.shutDown(); con = null; repo = null; }
@Override protected void tearDown() throws Exception { if (dataRep != null) { dataRep.shutDown(); dataRep = null; } }
@Override protected void tearDown() throws Exception { con.close(); repository.shutDown(); }
public void shutDown() throws SailException { for (Repository member : members) { try { member.shutDown(); } catch (RepositoryException e) { throw new SailException(e); } } executor.shutdown(); }
@Override public void close() { try { initialized = false; if (repository != null) { repository.shutDown(); } } catch (StoreException e) { throw new RepositoryException(e); } }
public void close() throws RepositoryException { con.close(); myRepository.shutDown(); }
protected void shutDownInternal() throws SailException { try { repository.shutDown(); } catch (RepositoryException e) { throw new SailException(e); } } }
@Override public void close() { try { repository.shutDown(); } catch (org.openrdf.repository.RepositoryException e) { throw new RepositoryException(e); } }
@Override protected void tearDown() throws Exception { testCon2.close(); testCon2 = null; testCon.close(); testCon = null; testRepository.shutDown(); testRepository = null; vf = null; }
@After public void tearDown() throws Exception { testCon2.close(); testCon.close(); testRepository.shutDown(); }
public void tearDown() throws Exception { con.close(); repo.shutDown(); con = null; repo = null; }
@BeforeClass public static void finishTest() throws Exception { if (EMBEDDED_REPOSITORY_CONNECTION != null) { EMBEDDED_REPOSITORY_CONNECTION.close(); } if (EMBEDDED_REPOSITORY != null) { EMBEDDED_REPOSITORY.shutDown(); } } @BeforeClass
@After public void tearDown() throws Exception { testCon2.close(); testCon.close(); testRepository.shutDown(); }
@AfterClass public static void dropDatabase() throws RepositoryException, SQLException, SailException { assertTrue(store.checkConsistency()); repository.shutDown(); } }