public void deleteMetaStore(String name) {
    StorageCleaner cleaner = new StorageCleaner(this);
    cleaner.cleanFiles(f -> f.getName().equals(String.format("%s.meta", name)) ||
      f.getName().equals(String.format("%s.conf", name))
    );
  }
public void deleteMetaStore ( String name ) { StorageCleaner cleaner = new StorageCleaner ( this ) ; cleaner . cleanFiles ( f -> f . getName ( ) . equals ( String . format ( "%s.meta" , name ) ) || f . getName ( ) . equals ( String . format ( "%s.conf" , name ) ) ) ; }
Deletes a {@link MetaStore} from disk.
<p>
The meta store will be deleted by simply reading {@code meta} file names from disk and deleting metadata
files directly. Deleting the meta store does not involve reading any metadata files into memory.

@param name The metastore name.