public void close() throws StorageException { edgeStore.close(); vertexIndexStore.close(); edgeIndexStore.close(); idAuthority.close(); storeManager.close(); // Indexes for (IndexProvider index : indexes.values()) index.close(); }
private void closeLogs() { try { for (LogManager lm : logManagers.values()) lm.close(); logManagers.clear(); if (logStoreManager != null) { logStoreManager.close(); logStoreManager = null; } } catch (BackendException e) { throw new TitanException(e); } }
public void close() throws StorageException { if (tx != null) tx.commit(); store.close(); manager.close(); }
@Override public void shutdown() throws Exception { super.shutdown(); storeManager.close(); }