public final class MasterUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createMasters(MasterRegistry registry,
MasterContext context)
Creates all the masters and registers them to the master registry.
|
static BlockStore.Factory |
getBlockStoreFactory(String baseDir) |
static InodeStore.Factory |
getInodeStoreFactory(String baseDir) |
public static void createMasters(MasterRegistry registry, MasterContext context)
registry
- the master registrycontext
- master contextpublic static BlockStore.Factory getBlockStoreFactory(String baseDir)
baseDir
- the base directory in which to store on-disk metadatapublic static InodeStore.Factory getInodeStoreFactory(String baseDir)
baseDir
- the base directory in which to store on-disk metadataCopyright © 2023. All Rights Reserved.