예제 #1
0
 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();
 }
예제 #4
0
 @Override
 public void shutdown() throws Exception {
   super.shutdown();
   storeManager.close();
 }