@ThreadSafe public final class FileSystemMasterFactory extends Object implements MasterFactory
FileSystemMaster
instance.Constructor and Description |
---|
FileSystemMasterFactory()
Constructs a new
FileSystemMasterFactory . |
Modifier and Type | Method and Description |
---|---|
FileSystemMaster |
create(MasterRegistry registry,
MasterContext context)
Factory method to create a new master instance.
|
String |
getName() |
boolean |
isEnabled() |
public FileSystemMasterFactory()
FileSystemMasterFactory
.public boolean isEnabled()
isEnabled
in interface MasterFactory
public String getName()
getName
in interface MasterFactory
public FileSystemMaster create(MasterRegistry registry, MasterContext context)
MasterFactory
create
in interface MasterFactory
registry
- the master registrycontext
- master contextMaster
instanceCopyright © 2023. All Rights Reserved.