Beispiel #1
0
 /**
  * Clears the storage of all registered backend data providers. This includes backend storage
  * engines and index providers.
  *
  * <p>IMPORTANT: Clearing storage means that ALL data will be lost and cannot be recovered.
  *
  * @throws StorageException
  */
 public void clearStorage() throws StorageException {
   edgeStore.close();
   vertexIndexStore.close();
   edgeIndexStore.close();
   idAuthority.close();
   storeManager.clearStorage();
   // Indexes
   for (IndexProvider index : indexes.values()) index.clearStorage();
 }
 public void close() throws StorageException {
   if (tx != null) tx.commit();
   store.close();
   manager.close();
 }
Beispiel #3
0
 public void clearStorage() throws StorageException {
   edgeStore.close();
   vertexIndexStore.close();
   idAuthority.close();
   storeManager.clearStorage();
 }