public class BlockBasedDataStoreTools extends Object
| Constructor and Description |
|---|
BlockBasedDataStoreTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
create(String baseName,
File dataFolder,
int blockCount,
int blockSize,
boolean forceSync)
Create the filesystem for a new store
|
static void |
delete(String baseName,
File dataFolder,
boolean force)
Delete the filesystem of a store
|
static File[] |
findJournalFiles(String baseName,
File dataFolder)
Find existing journal files for a given base name
|
static File[] |
findRecycledJournalFiles(String baseName,
File dataFolder)
Find recycled journal files for a given base name
|
public static void create(String baseName, File dataFolder, int blockCount, int blockSize, boolean forceSync) throws DataStoreException
DataStoreExceptionpublic static void delete(String baseName, File dataFolder, boolean force) throws DataStoreException
DataStoreExceptionpublic static File[] findJournalFiles(String baseName, File dataFolder)
baseName - dataFolder - Copyright © 2021. All rights reserved.